Example usage for Java org.apache.lucene.facet.range LongRangeFacetCounts fields, constructors, methods, implement or subclass
The text is from its open source code.
LongRangeFacetCounts(String field, LongValuesSource valueSource, FacetsCollector hits, Query fastMatchQuery, LongRange... ranges) Create LongRangeFacetCounts , using the provided LongValuesSource , and using the provided Filter as a fastmatch: only documents passing the filter are checked for the matching ranges, which is helpful when the provided LongValuesSource is costly per-document, such as a geo distance. | |
LongRangeFacetCounts(String field, FacetsCollector hits, LongRange... ranges) Create LongRangeFacetCounts , using LongValuesSource from the specified field. |