C# Class Lucene.Net.QueryParsers.Flexible.Standard.Processors.MultiFieldQueryNodeProcessor

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 IFieldableNode contained in the query node tree. If a IFieldableNode is found, it checks if there is a ConfigurationKeys.MULTI_FIELDS defined in the Core.Config.QueryConfigHandler. If there is, the IFieldableNode 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.
Inheritance: QueryNodeProcessorImpl
Afficher le fichier Open project: apache/lucenenet

Méthodes publiques

Méthode Description
MultiFieldQueryNodeProcessor ( ) : Lucene.Net.QueryParsers.Flexible.Core.Nodes

Méthodes protégées

Méthode Description
PostProcessNode ( IQueryNode node ) : IQueryNode
PreProcessNode ( IQueryNode node ) : IQueryNode
ProcessChildren ( IQueryNode queryTree ) : void
SetChildrenOrder ( IList children ) : IList

Method Details

MultiFieldQueryNodeProcessor() public méthode

public MultiFieldQueryNodeProcessor ( ) : Lucene.Net.QueryParsers.Flexible.Core.Nodes
Résultat Lucene.Net.QueryParsers.Flexible.Core.Nodes

PostProcessNode() protected méthode

protected PostProcessNode ( IQueryNode node ) : IQueryNode
node IQueryNode
Résultat IQueryNode

PreProcessNode() protected méthode

protected PreProcessNode ( IQueryNode node ) : IQueryNode
node IQueryNode
Résultat IQueryNode

ProcessChildren() protected méthode

protected ProcessChildren ( IQueryNode queryTree ) : void
queryTree IQueryNode
Résultat void

SetChildrenOrder() protected méthode

protected SetChildrenOrder ( IList children ) : IList
children IList
Résultat IList