C# 클래스 Lucene.Net.Facet.Range.Range

Base class for a single labeled range. @lucene.experimental
파일 보기 프로젝트 열기: apache/lucenenet 1 사용 예제들

공개 메소드들

메소드 설명
GetFilter ( Lucene.Net.Queries.Function.ValueSource valueSource ) : Lucene.Net.Search.Filter

Returns a new Filter accepting only documents in this range. This filter is not general-purpose; you should either use it with DrillSideways by adding it to DrillDownQuery.Add, or pass it to Search.FilteredQuery using its Search.FilteredQuery.QUERY_FIRST_FILTER_STRATEGY. If the ValueSource is static, e.g. an indexed numeric field, then it may be more efficient to use Search.NumericRangeFilter.

GetFilter ( Lucene.Net.Search.Filter fastMatchFilter, Lucene.Net.Queries.Function.ValueSource valueSource ) : Lucene.Net.Search.Filter

Returns a new Filter accepting only documents in this range. This filter is not general-purpose; you should either use it with DrillSideways by adding it to DrillDownQuery.Add, or pass it to Search.FilteredQuery using its Search.FilteredQuery.QUERY_FIRST_FILTER_STRATEGY. If the ValueSource is static, e.g. an indexed numeric field, then it may be more efficient to use Search.NumericRangeFilter. The provided fastMatchFilter, if non-null, will first be consulted, and only if that is set for each document will the range then be checked.

보호된 메소드들

메소드 설명
FailNoMatch ( ) : void

Invoke this for a useless range.

Range ( string label )

Sole constructor.

메소드 상세

FailNoMatch() 보호된 메소드

Invoke this for a useless range.
protected FailNoMatch ( ) : void
리턴 void

GetFilter() 공개 메소드

Returns a new Filter accepting only documents in this range. This filter is not general-purpose; you should either use it with DrillSideways by adding it to DrillDownQuery.Add, or pass it to Search.FilteredQuery using its Search.FilteredQuery.QUERY_FIRST_FILTER_STRATEGY. If the ValueSource is static, e.g. an indexed numeric field, then it may be more efficient to use Search.NumericRangeFilter.
public GetFilter ( Lucene.Net.Queries.Function.ValueSource valueSource ) : Lucene.Net.Search.Filter
valueSource Lucene.Net.Queries.Function.ValueSource
리턴 Lucene.Net.Search.Filter

GetFilter() 공개 추상적인 메소드

Returns a new Filter accepting only documents in this range. This filter is not general-purpose; you should either use it with DrillSideways by adding it to DrillDownQuery.Add, or pass it to Search.FilteredQuery using its Search.FilteredQuery.QUERY_FIRST_FILTER_STRATEGY. If the ValueSource is static, e.g. an indexed numeric field, then it may be more efficient to use Search.NumericRangeFilter. The provided fastMatchFilter, if non-null, will first be consulted, and only if that is set for each document will the range then be checked.
public abstract GetFilter ( Lucene.Net.Search.Filter fastMatchFilter, Lucene.Net.Queries.Function.ValueSource valueSource ) : Lucene.Net.Search.Filter
fastMatchFilter Lucene.Net.Search.Filter
valueSource Lucene.Net.Queries.Function.ValueSource
리턴 Lucene.Net.Search.Filter

Range() 보호된 메소드

Sole constructor.
protected Range ( string label )
label string