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.FacetsCopied with some changes from
org.apache.lucene.facet.range.RangeFacetCountsof Apache Lucene project.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedMultiValueRangeFacetCounts(String field, org.apache.lucene.facet.range.Range[] ranges, org.apache.lucene.search.Query fastMatchQuery)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<org.apache.lucene.facet.FacetResult>getAllDims(int topN)NumbergetSpecificValue(String dim, String... path)org.apache.lucene.facet.FacetResultgetTopChildren(int topN, String dim, String... path)StringtoString()
-
-
-
Field Detail
-
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
protected final String field
-
totCount
protected int totCount
-
-
Constructor Detail
-
MultiValueRangeFacetCounts
protected MultiValueRangeFacetCounts(String field, org.apache.lucene.facet.range.Range[] ranges, org.apache.lucene.search.Query fastMatchQuery)
-
-
Method Detail
-
getTopChildren
public org.apache.lucene.facet.FacetResult getTopChildren(int topN, String dim, String... path)- Specified by:
getTopChildrenin classorg.apache.lucene.facet.Facets
-
getSpecificValue
public Number getSpecificValue(String dim, String... path) throws IOException
- Specified by:
getSpecificValuein classorg.apache.lucene.facet.Facets- Throws:
IOException
-
getAllDims
public List<org.apache.lucene.facet.FacetResult> getAllDims(int topN) throws IOException
- Specified by:
getAllDimsin classorg.apache.lucene.facet.Facets- Throws:
IOException
-
-