Java org.apache.lucene.facet.range LongRangeFacetCounts fields, constructors, methods, implement or subclass

Example usage for Java org.apache.lucene.facet.range LongRangeFacetCounts fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.lucene.facet.range LongRangeFacetCounts.

The text is from its open source code.

Constructor

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.