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
.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.lucene.facet.taxonomy.IntTaxonomyFacets
IntTaxonomyFacets.IntAggregatedValue
-
Nested classes/interfaces inherited from class org.apache.lucene.facet.taxonomy.TaxonomyFacets
TaxonomyFacets.AggregatedValue
-
-
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, taxoReader, valueComparator
-
-
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
aggregate, getAggregationValue, increment, increment, initializeValueCounters, newAggregatedValue, setIncomingValue, updateValueFromRollup
-
Methods inherited from class org.apache.lucene.facet.taxonomy.TaxonomyFacets
childrenLoaded, getAllChildren, getAllDims, getCount, getSpecificValue, getTopChildren, getTopChildrenForPath, getTopDims, insertIntoQueue, makeTopOrdAndNumberQueue, missingAggregationValue, rollup, setCount, siblingsLoaded, useHashTable, 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
-
-