Class LongMultiValueFacetCounts
- java.lang.Object
-
- org.apache.lucene.facet.Facets
-
- org.hibernate.search.backend.lucene.lowlevel.facet.impl.LongMultiValueFacetCounts
-
public class LongMultiValueFacetCounts extends org.apache.lucene.facet.FacetsCopied with some changes from
org.apache.lucene.facet.LongValueFacetCountsof Apache Lucene project.
-
-
Constructor Summary
Constructors Constructor Description LongMultiValueFacetCounts(String field, LongMultiValuesSource valueSource, org.apache.lucene.facet.FacetsCollector hits)
-
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)org.apache.lucene.facet.FacetResultgetTopChildrenSortByCount(int topN)StringtoString()
-
-
-
Constructor Detail
-
LongMultiValueFacetCounts
public LongMultiValueFacetCounts(String field, LongMultiValuesSource valueSource, org.apache.lucene.facet.FacetsCollector hits) throws IOException
- Throws:
IOException
-
-
Method Detail
-
getTopChildren
public org.apache.lucene.facet.FacetResult getTopChildren(int topN, String dim, String... path)- Specified by:
getTopChildrenin classorg.apache.lucene.facet.Facets
-
getTopChildrenSortByCount
public org.apache.lucene.facet.FacetResult getTopChildrenSortByCount(int topN)
-
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
-
-