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
ファイルを表示 Open project: apache/lucenenet

Public Methods

Method Description
DefaultPhraseSlopQueryNodeProcessor ( ) : Lucene.Net.QueryParsers.Flexible.Core.Config
Process ( IQueryNode queryTree ) : IQueryNode

Protected Methods

Method Description
PostProcessNode ( IQueryNode node ) : IQueryNode
PreProcessNode ( IQueryNode node ) : IQueryNode
ProcessChildren ( IQueryNode queryTree ) : void
SetChildrenOrder ( IList children ) : IList

Method Details

DefaultPhraseSlopQueryNodeProcessor() public method

public DefaultPhraseSlopQueryNodeProcessor ( ) : Lucene.Net.QueryParsers.Flexible.Core.Config
return Lucene.Net.QueryParsers.Flexible.Core.Config

PostProcessNode() protected method

protected PostProcessNode ( IQueryNode node ) : IQueryNode
node IQueryNode
return IQueryNode

PreProcessNode() protected method

protected PreProcessNode ( IQueryNode node ) : IQueryNode
node IQueryNode
return IQueryNode

Process() public method

public Process ( IQueryNode queryTree ) : IQueryNode
queryTree IQueryNode
return IQueryNode

ProcessChildren() protected method

protected ProcessChildren ( IQueryNode queryTree ) : void
queryTree IQueryNode
return void

SetChildrenOrder() protected method

protected SetChildrenOrder ( IList children ) : IList
children IList
return IList