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

Facets implementation that computes counts for dynamic long ranges from a provided ValueSource, using FunctionValues#longVal. Use this for dimensions that change in real-time (e.g. a relative time based dimension like "Past day", "Past 2 days", etc.) or that change for each request (e.g. distance from the user's location, "< 1 km", "< 2 km", etc.). @lucene.experimental
상속: RangeFacetCounts
파일 보기 프로젝트 열기: apache/lucenenet 1 사용 예제들

공개 메소드들

메소드 설명
LongRangeFacetCounts ( string field, FacetsCollector hits ) : System.Collections.Generic

Create LongRangeFacetCounts, using LongFieldSource from the specified field.

LongRangeFacetCounts ( string field, ValueSource valueSource, FacetsCollector hits ) : System.Collections.Generic

Create RangeFacetCounts, using the provided ValueSource.

LongRangeFacetCounts ( string field, ValueSource valueSource, FacetsCollector hits, Filter fastMatchFilter ) : System.Collections.Generic

Create RangeFacetCounts, using the provided ValueSource, and using the provided Filter as a fastmatch: only documents passing the filter are checked for the matching ranges. The filter must be random access (implement DocIdSet.GetBits).

비공개 메소드들

메소드 설명
Count ( ValueSource valueSource, IList matchingDocs ) : void

메소드 상세

LongRangeFacetCounts() 공개 메소드

Create LongRangeFacetCounts, using LongFieldSource from the specified field.
public LongRangeFacetCounts ( string field, FacetsCollector hits ) : System.Collections.Generic
field string
hits Lucene.Net.Facet.FacetsCollector
리턴 System.Collections.Generic

LongRangeFacetCounts() 공개 메소드

Create RangeFacetCounts, using the provided ValueSource.
public LongRangeFacetCounts ( string field, ValueSource valueSource, FacetsCollector hits ) : System.Collections.Generic
field string
valueSource ValueSource
hits Lucene.Net.Facet.FacetsCollector
리턴 System.Collections.Generic

LongRangeFacetCounts() 공개 메소드

Create RangeFacetCounts, using the provided ValueSource, and using the provided Filter as a fastmatch: only documents passing the filter are checked for the matching ranges. The filter must be random access (implement DocIdSet.GetBits).
public LongRangeFacetCounts ( string field, ValueSource valueSource, FacetsCollector hits, Filter fastMatchFilter ) : System.Collections.Generic
field string
valueSource ValueSource
hits Lucene.Net.Facet.FacetsCollector
fastMatchFilter Filter
리턴 System.Collections.Generic