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

This processor is used to expand terms so the query looks for the same term in different fields. It also boosts a query based on its field. This processor looks for every IFieldableNode contained in the query node tree. If a IFieldableNode is found, it checks if there is a ConfigurationKeys.MULTI_FIELDS defined in the Core.Config.QueryConfigHandler. If there is, the IFieldableNode is cloned N times and the clones are added to a BooleanQueryNode together with the original node. N is defined by the number of fields that it will be expanded to. The BooleanQueryNode is returned.
상속: QueryNodeProcessorImpl
파일 보기 프로젝트 열기: apache/lucenenet

공개 메소드들

메소드 설명
MultiFieldQueryNodeProcessor ( ) : Lucene.Net.QueryParsers.Flexible.Core.Nodes

보호된 메소드들

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

메소드 상세

MultiFieldQueryNodeProcessor() 공개 메소드

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

PostProcessNode() 보호된 메소드

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

PreProcessNode() 보호된 메소드

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

ProcessChildren() 보호된 메소드

protected ProcessChildren ( IQueryNode queryTree ) : void
queryTree IQueryNode
리턴 void

SetChildrenOrder() 보호된 메소드

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