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

This processor verifies if ConfigurationKeys.PHRASE_SLOP is defined in the QueryConfigHandler. If it is, it looks for every TokenizedPhraseQueryNode and MultiPhraseQueryNode that does not have any SlopQueryNode applied to it and creates an SlopQueryNode and apply to it. The new SlopQueryNode has the same slop value defined in the configuration.
Inheritance: QueryNodeProcessorImpl
Afficher le fichier Open project: apache/lucenenet

Méthodes publiques

Méthode Description
DefaultPhraseSlopQueryNodeProcessor ( ) : Lucene.Net.QueryParsers.Flexible.Core.Config
Process ( IQueryNode queryTree ) : IQueryNode

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

DefaultPhraseSlopQueryNodeProcessor() public méthode

public DefaultPhraseSlopQueryNodeProcessor ( ) : Lucene.Net.QueryParsers.Flexible.Core.Config
Résultat Lucene.Net.QueryParsers.Flexible.Core.Config

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

Process() public méthode

public Process ( IQueryNode queryTree ) : IQueryNode
queryTree 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