Class TextMultiValueFacetCounts
- java.lang.Object
-
- org.apache.lucene.facet.Facets
-
- org.hibernate.search.backend.lucene.lowlevel.facet.impl.TextMultiValueFacetCounts
-
public class TextMultiValueFacetCounts extends org.apache.lucene.facet.FacetsCopied with some changes fromorg.apache.lucene.facet.sortedset.SortedSetDocValuesFacetCountsof Apache Lucene project.
-
-
Constructor Summary
Constructors Constructor Description TextMultiValueFacetCounts(org.apache.lucene.index.IndexReader reader, String field, TextMultiValuesSource valuesSource, 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)
-
-
-
Constructor Detail
-
TextMultiValueFacetCounts
public TextMultiValueFacetCounts(org.apache.lucene.index.IndexReader reader, String field, TextMultiValuesSource valuesSource, 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) throws IOException- Specified by:
getTopChildrenin classorg.apache.lucene.facet.Facets- Throws:
IOException
-
getSpecificValue
public Number getSpecificValue(String dim, String... path)
- Specified by:
getSpecificValuein classorg.apache.lucene.facet.Facets
-
getAllDims
public List<org.apache.lucene.facet.FacetResult> getAllDims(int topN) throws IOException
- Specified by:
getAllDimsin classorg.apache.lucene.facet.Facets- Throws:
IOException
-
-