Package org.apache.lucene.facet.taxonomy
Class TaxonomyFacetCounts
- java.lang.Object
-
- org.apache.lucene.facet.Facets
-
- org.apache.lucene.facet.taxonomy.TaxonomyFacets
-
- org.apache.lucene.facet.taxonomy.IntTaxonomyFacets
-
- org.apache.lucene.facet.taxonomy.TaxonomyFacetCounts
-
public class TaxonomyFacetCounts extends IntTaxonomyFacets
Reads from anyOrdinalsReader
; useFastTaxonomyFacetCounts
if you are using the default encoding fromBinaryDocValues
.
-
-
Constructor Summary
Constructors Constructor Description TaxonomyFacetCounts(OrdinalsReader ordinalsReader, TaxonomyReader taxoReader, FacetsConfig config, FacetsCollector fc)
CreateTaxonomyFacetCounts
, which also counts all facet labels.
-
Method Summary
-
Methods inherited from class org.apache.lucene.facet.taxonomy.IntTaxonomyFacets
getSpecificValue, getTopChildren
-
Methods inherited from class org.apache.lucene.facet.taxonomy.TaxonomyFacets
getAllDims
-
-
-
-
Constructor Detail
-
TaxonomyFacetCounts
public TaxonomyFacetCounts(OrdinalsReader ordinalsReader, TaxonomyReader taxoReader, FacetsConfig config, FacetsCollector fc) throws java.io.IOException
CreateTaxonomyFacetCounts
, which also counts all facet labels. Use this for a non-defaultOrdinalsReader
; otherwise useFastTaxonomyFacetCounts
.- Throws:
java.io.IOException
-
-