Example usage for org.apache.lucene.queryparser.flexible.core.processors QueryNodeProcessor interface-usage

List of usage examples for org.apache.lucene.queryparser.flexible.core.processors QueryNodeProcessor interface-usage

Introduction

In this page you can find the example usage for org.apache.lucene.queryparser.flexible.core.processors QueryNodeProcessor interface-usage.

Usage

From source file com.sindicetech.siren.qparser.keyword.processors.GroupQueryNodeProcessor.java

/**
 * The {@link SyntaxParser} generates query node trees that consider the boolean
 * operator precedence, but Lucene current syntax does not support boolean
 * precedence, so this processor remove all the precedence and apply the
 * equivalent modifier according to the boolean operation defined on an specific
 * query node.

From source file com.sindicetech.siren.qparser.keyword.processors.TopLevelQueryNodeProcessor.java

/**
 * This processor removes the {@link TopLevelQueryNode} and returns its
 * child wrapped in a {@link BooleanQueryNode}, in the case where
 * {@link KeywordConfigurationKeys#ALLOW_TWIG} is <code>false</code>; otherwise,
 * it is left unchanged.
 */

From source file org.sindice.siren.qparser.keyword.processors.GroupQueryNodeProcessor.java

/**
 * The {@link SyntaxParser} generates query node trees that consider the boolean
 * operator precedence, but Lucene current syntax does not support boolean
 * precedence, so this processor remove all the precedence and apply the
 * equivalent modifier according to the boolean operation defined on an specific
 * query node.

From source file org.sindice.siren.qparser.keyword.processors.TopLevelQueryNodeProcessor.java

/**
 * This processor removes the {@link TopLevelQueryNode} and returns its
 * child wrapped in a {@link BooleanQueryNode}, in the case where
 * {@link KeywordConfigurationKeys#ALLOW_TWIG} is <code>false</code>; otherwise,
 * it is left unchanged.
 */