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
.-
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, TaxonomyFacets.TopChildrenForPath
-
Field Summary
FieldsFields inherited from class org.apache.lucene.facet.taxonomy.IntTaxonomyFacets
aggregationFunction, sparseValues, values
Fields inherited from class org.apache.lucene.facet.taxonomy.TaxonomyFacets
config, counts, fc, indexFieldName, initialized, parents, sparseCounts, taxoReader, valueComparator
-
Constructor Summary
ConstructorsConstructorDescriptionTaxonomyFacetCounts
(OrdinalsReader ordinalsReader, TaxonomyReader taxoReader, FacetsConfig config, FacetsCollector fc) Deprecated.CreateTaxonomyFacetCounts
, which also counts all facet labels. -
Method Summary
Modifier and TypeMethodDescriptionprivate final void
count
(List<FacetsCollector.MatchingDocs> matchingDocs) Deprecated.Methods inherited from class org.apache.lucene.facet.taxonomy.IntTaxonomyFacets
aggregate, getAggregationValue, getValue, increment, increment, initializeValueCounters, newAggregatedValue, setIncomingValue, setValue, updateValueFromRollup
Methods inherited from class org.apache.lucene.facet.taxonomy.TaxonomyFacets
childrenLoaded, getAllChildren, getAllDims, getChildren, getCount, getSiblings, getSpecificValue, getTopChildren, getTopChildrenForPath, getTopDims, hasValues, insertIntoQueue, makeTopOrdAndNumberQueue, missingAggregationValue, rollup, setCount, siblingsLoaded, useHashTable, verifyDim
Methods inherited from class org.apache.lucene.facet.Facets
validateTopN
-
Field Details
-
ordinalsReader
Deprecated.
-
-
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
-
-
Method Details
-
count
Deprecated.- Throws:
IOException
-
FastTaxonomyFacetCounts
or implement your ownFacets
implementation if you have custom needs.