C# Class Lucene.Net.QueryParsers.Flexible.Spans.SpansValidatorQueryNodeProcessor

Validates every query node in a query node tree. This processor will pass fine if the query nodes are only BooleanQueryNodes, OrQueryNodes or FieldQueryNodes, otherwise an exception will be thrown. If they are AndQueryNode or an instance of anything else that implements FieldQueryNode the exception will also be thrown.
Inheritance: QueryNodeProcessorImpl
Exibir arquivo Open project: apache/lucenenet

Protected Methods

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

Method Details

PostProcessNode() protected method

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

PreProcessNode() protected method

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

SetChildrenOrder() protected method

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