Class MultiValueRangeFacetCounts
java.lang.Object
org.apache.lucene.facet.Facets
org.hibernate.search.backend.lucene.lowlevel.facet.impl.MultiValueRangeFacetCounts
- Direct Known Subclasses:
LongMultiValueRangeFacetCounts
public class MultiValueRangeFacetCounts
extends org.apache.lucene.facet.Facets
Copied with some changes from org.apache.lucene.facet.range.RangeFacetCounts
of Apache Lucene project.
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedMultiValueRangeFacetCounts(String field, org.apache.lucene.facet.range.Range[] ranges, org.apache.lucene.search.Query fastMatchQuery) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.lucene.facet.FacetResultgetAllChildren(String dim, String... path) List<org.apache.lucene.facet.FacetResult>getAllDims(int topN) getSpecificValue(String dim, String... path) org.apache.lucene.facet.FacetResultgetTopChildren(int topN, String dim, String... path) toString()Methods inherited from class org.apache.lucene.facet.Facets
getTopDims, validateTopN
-
Field Details
-
ranges
protected final org.apache.lucene.facet.range.Range[] ranges -
counts
protected final int[] counts -
fastMatchQuery
protected final org.apache.lucene.search.Query fastMatchQuery -
field
-
totCount
protected int totCount
-
-
Constructor Details
-
MultiValueRangeFacetCounts
protected MultiValueRangeFacetCounts(String field, org.apache.lucene.facet.range.Range[] ranges, org.apache.lucene.search.Query fastMatchQuery)
-
-
Method Details
-
getAllChildren
- Specified by:
getAllChildrenin classorg.apache.lucene.facet.Facets
-
getTopChildren
- Specified by:
getTopChildrenin classorg.apache.lucene.facet.Facets
-
getSpecificValue
- Specified by:
getSpecificValuein classorg.apache.lucene.facet.Facets- Throws:
IOException
-
getAllDims
- Specified by:
getAllDimsin classorg.apache.lucene.facet.Facets- Throws:
IOException
-
toString
-