Class MultiFieldQueryNodeProcessor
java.lang.Object
org.apache.lucene.queryparser.flexible.core.processors.QueryNodeProcessorImpl
org.apache.lucene.queryparser.flexible.standard.processors.MultiFieldQueryNodeProcessor
- All Implemented Interfaces:
QueryNodeProcessor
This processor is used to expand terms so the query looks for the same term
in different fields. It also boosts a query based on its field.
This processor looks for every
This processor looks for every
FieldableNode contained in the query
node tree. If a FieldableNode is found, it checks if there is a
StandardQueryConfigHandler.ConfigurationKeys.MULTI_FIELDS defined in the QueryConfigHandler. If
there is, the FieldableNode is cloned N times and the clones are
added to a BooleanQueryNode together with the original node. N is
defined by the number of fields that it will be expanded to. The
BooleanQueryNode is returned. - See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.lucene.queryparser.flexible.core.processors.QueryNodeProcessorImpl
getQueryConfigHandler, process, setQueryConfigHandler
-
Constructor Details
-
MultiFieldQueryNodeProcessor
public MultiFieldQueryNodeProcessor()
-