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.
Reads from any
OrdinalsReader
; use FastTaxonomyFacetCounts
if you are using the
default encoding from BinaryDocValues
.-
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
ConstructorDescriptionTaxonomyFacetCounts
(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 Details
-
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
-
FastTaxonomyFacetCounts
or implement your ownFacets
implementation if you have custom needs.