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

This processor verifies if ConfigurationKeys.ALLOW_LEADING_WILDCARD is defined in the QueryConfigHandler. If it is and leading wildcard is not allowed, it looks for every WildcardQueryNode contained in the query node tree and throws an exception if any of them has a leading wildcard ('*' or '?').
Inheritance: QueryNodeProcessorImpl
Exibir arquivo Open project: apache/lucenenet

Public Methods

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

Protected Methods

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

Method Details

AllowLeadingWildcardProcessor() public method

public AllowLeadingWildcardProcessor ( ) : Lucene.Net.QueryParsers.Flexible.Core
return Lucene.Net.QueryParsers.Flexible.Core

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

SetChildrenOrder() protected method

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