Class Int64RangeFacetCounts
Facets implementation that computes counts for dynamic long ranges from a provided ValueSource, using Int64Val(Int32) or Int64Val(Int32, Int64[]). 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.).
NOTE: This was LongRangeFacetCounts in Lucene
@lucene.experimental
Inherited Members
Assembly: DistributedLucene.Net.Facet.dll
Syntax
public class Int64RangeFacetCounts : RangeFacetCounts, IIdentifiableSurrogate
Constructors
Name | Description |
---|---|
Int64RangeFacetCounts(String, FacetsCollector, Int64Range[]) | Create Int64RangeFacetCounts, using Int64FieldSource from the specified field. |
Int64RangeFacetCounts(String, ValueSource, FacetsCollector, Int64Range[]) | Create Int64RangeFacetCounts, using the provided ValueSource. |
Int64RangeFacetCounts(String, ValueSource, FacetsCollector, Filter, Int64Range[]) | Create Int64RangeFacetCounts, 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 Bits). |