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.Facets
Copied with some changes from
org.apache.lucene.facet.sortedset.SortedSetDocValuesFacetCounts
of Apache Lucene project.-
Constructor Summary
ConstructorsConstructorDescriptionTextMultiValueFacetCounts(org.apache.lucene.index.IndexReader reader, String field, TextMultiValuesSource valuesSource, org.apache.lucene.facet.FacetsCollector hits) -
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) Methods inherited from class org.apache.lucene.facet.Facets
getTopDims, validateTopN
-
Constructor Details
-
TextMultiValueFacetCounts
public TextMultiValueFacetCounts(org.apache.lucene.index.IndexReader reader, String field, TextMultiValuesSource valuesSource, org.apache.lucene.facet.FacetsCollector hits) throws IOException - Throws:
IOException
-
-
Method Details
-
getAllChildren
- Specified by:
getAllChildrenin classorg.apache.lucene.facet.Facets
-
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
- Specified by:
getSpecificValuein classorg.apache.lucene.facet.Facets
-
getAllDims
- Specified by:
getAllDimsin classorg.apache.lucene.facet.Facets- Throws:
IOException
-