C# 클래스 Lucene.Net.QueryParsers.Flexible.Standard.Processors.RemoveEmptyNonLeafQueryNodeProcessor

This processor removes every IQueryNode that is not a leaf and has not children. If after processing the entire tree the root node is not a leaf and has no children, a MatchNoDocsQueryNode object is returned. This processor is used at the end of a pipeline to avoid invalid query node tree structures like a GroupQueryNode or ModifierQueryNode with no children.
상속: QueryNodeProcessorImpl
파일 보기 프로젝트 열기: apache/lucenenet

공개 메소드들

메소드 설명
Process ( IQueryNode queryTree ) : IQueryNode
RemoveEmptyNonLeafQueryNodeProcessor ( ) : Lucene.Net.QueryParsers.Flexible.Core.Nodes

보호된 메소드들

메소드 설명
PostProcessNode ( IQueryNode node ) : IQueryNode
PreProcessNode ( IQueryNode node ) : IQueryNode
SetChildrenOrder ( IList children ) : IList

메소드 상세

PostProcessNode() 보호된 메소드

protected PostProcessNode ( IQueryNode node ) : IQueryNode
node IQueryNode
리턴 IQueryNode

PreProcessNode() 보호된 메소드

protected PreProcessNode ( IQueryNode node ) : IQueryNode
node IQueryNode
리턴 IQueryNode

Process() 공개 메소드

public Process ( IQueryNode queryTree ) : IQueryNode
queryTree IQueryNode
리턴 IQueryNode

RemoveEmptyNonLeafQueryNodeProcessor() 공개 메소드

public RemoveEmptyNonLeafQueryNodeProcessor ( ) : Lucene.Net.QueryParsers.Flexible.Core.Nodes
리턴 Lucene.Net.QueryParsers.Flexible.Core.Nodes

SetChildrenOrder() 보호된 메소드

protected SetChildrenOrder ( IList children ) : IList
children IList
리턴 IList