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
-
@Deprecated public class TaxonomyFacetCounts extends IntTaxonomyFacets
Deprecated.Custom binary encodings for taxonomy ordinals are no longer supported starting with Lucene 9. Please switch toFastTaxonomyFacetCounts
or implement your ownFacets
implementation if you have custom needs.Reads from anyOrdinalsReader
; useFastTaxonomyFacetCounts
if you are using the default encoding fromBinaryDocValues
.
-
-
Field Summary
-
Fields inherited from class org.apache.lucene.facet.taxonomy.IntTaxonomyFacets
aggregationFunction, sparseValues, values
-
Fields inherited from class org.apache.lucene.facet.taxonomy.TaxonomyFacets
config, indexFieldName, parents, taxoReader
-
-
Constructor Summary
Constructors Constructor Description TaxonomyFacetCounts(OrdinalsReader ordinalsReader, TaxonomyReader taxoReader, FacetsConfig config, FacetsCollector fc)
Deprecated.CreateTaxonomyFacetCounts
, which also counts all facet labels.
-
Method Summary
-
Methods inherited from class org.apache.lucene.facet.taxonomy.IntTaxonomyFacets
getAllChildren, getSpecificValue, getTopChildren, getTopDims, getValue, increment, increment, rollup, useHashTable
-
Methods inherited from class org.apache.lucene.facet.taxonomy.TaxonomyFacets
childrenLoaded, getAllDims, getChildren, getSiblings, siblingsLoaded, verifyDim
-
Methods inherited from class org.apache.lucene.facet.Facets
validateTopN
-
-
-
-
Constructor Detail
-
TaxonomyFacetCounts
public TaxonomyFacetCounts(OrdinalsReader ordinalsReader, TaxonomyReader taxoReader, FacetsConfig config, FacetsCollector fc) throws IOException
Deprecated.CreateTaxonomyFacetCounts
, which also counts all facet labels. Use this for a non-defaultOrdinalsReader
; otherwise useFastTaxonomyFacetCounts
.- Throws:
IOException
-
-