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

This processor is used to convert FieldQueryNodes to NumericRangeQueryNodes. It looks for ConfigurationKeys.NUMERIC_CONFIG set in the FieldConfig of every FieldQueryNode found. If ConfigurationKeys.NUMERIC_CONFIG is found, it considers that FieldQueryNode to be a numeric query and convert it to NumericRangeQueryNode with upper and lower inclusive and lower and upper equals to the value represented by the FieldQueryNode converted to object representing a .NET numeric type. It means that field:1 is converted to field:[1 TO 1]. Note that FieldQueryNodes children of a RangeQueryNode are ignored.
상속: QueryNodeProcessorImpl
파일 보기 프로젝트 열기: apache/lucenenet

공개 메소드들

메소드 설명
NumericQueryNodeProcessor ( ) : Lucene.Net.Documents

Constructs a NumericQueryNodeProcessor object.

보호된 메소드들

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

메소드 상세

NumericQueryNodeProcessor() 공개 메소드

Constructs a NumericQueryNodeProcessor object.
public NumericQueryNodeProcessor ( ) : Lucene.Net.Documents
리턴 Lucene.Net.Documents

PostProcessNode() 보호된 메소드

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

PreProcessNode() 보호된 메소드

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

SetChildrenOrder() 보호된 메소드

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