Uses of Class
org.apache.lucene.facet.taxonomy.TaxonomyReader
Package
Description
Faceted search.
Taxonomy of Categories.
Taxonomy index implementation using on top of a Directory.
-
Uses of TaxonomyReader in org.apache.lucene.facet
Modifier and TypeFieldDescriptionprotected final TaxonomyReader
DrillSideways.taxoReader
TaxonomyReader
passed to constructor.ModifierConstructorDescriptionDrillSideways
(IndexSearcher searcher, FacetsConfig config, TaxonomyReader taxoReader) Create a newDrillSideways
instance.DrillSideways
(IndexSearcher searcher, FacetsConfig config, TaxonomyReader taxoReader, SortedSetDocValuesReaderState state) Create a newDrillSideways
instance, where some dimensions were indexed withSortedSetDocValuesFacetField
and others were indexed withFacetField
.DrillSideways
(IndexSearcher searcher, FacetsConfig config, TaxonomyReader taxoReader, SortedSetDocValuesReaderState state, ExecutorService executor) Create a newDrillSideways
instance, where some dimensions were indexed withSortedSetDocValuesFacetField
and others were indexed withFacetField
. -
Uses of TaxonomyReader in org.apache.lucene.facet.taxonomy
Modifier and TypeFieldDescriptionprotected final TaxonomyReader
TaxonomyFacets.taxoReader
Deprecated.TaxonomyReader
provided to the constructor.Modifier and TypeMethodDescriptionstatic <T extends TaxonomyReader>
TTaxonomyReader.openIfChanged
(T oldTaxoReader) If the taxonomy has changed since the provided reader was opened, open and return a newTaxonomyReader
; else, returnnull
.Modifier and TypeMethodDescriptionprotected abstract TaxonomyReader
TaxonomyReader.doOpenIfChanged()
Implements the actual opening of a newTaxonomyReader
instance if the taxonomy has changed.Modifier and TypeMethodDescriptionstatic void
PrintTaxonomyStats.printStats
(TaxonomyReader r, PrintStream out, boolean printTree) Recursively prints stats for all ordinals.protected boolean
IntTaxonomyFacets.useHashTable
(FacetsCollector fc, TaxonomyReader taxoReader) Deprecated.Return true if a sparse hash table should be used for counting, instead of a dense int[].ModifierConstructorDescriptionFastTaxonomyFacetCounts
(String indexFieldName, TaxonomyReader taxoReader, FacetsConfig config, FacetsCollector fc) CreateFastTaxonomyFacetCounts
, using the specifiedindexFieldName
for ordinals.FastTaxonomyFacetCounts
(String indexFieldName, IndexReader reader, TaxonomyReader taxoReader, FacetsConfig config) CreateFastTaxonomyFacetCounts
, using the specifiedindexFieldName
for ordinals, and counting all non-deleted documents in the index.FastTaxonomyFacetCounts
(TaxonomyReader taxoReader, FacetsConfig config, FacetsCollector fc) CreateFastTaxonomyFacetCounts
, which also counts all facet labels.protected
FloatTaxonomyFacets
(String indexFieldName, TaxonomyReader taxoReader, FacetsConfig config) Deprecated.Sole constructor.protected
IntTaxonomyFacets
(String indexFieldName, TaxonomyReader taxoReader, FacetsConfig config, FacetsCollector fc) Deprecated.Sole constructor.TaxonomyFacetCounts
(OrdinalsReader ordinalsReader, TaxonomyReader taxoReader, FacetsConfig config, FacetsCollector fc) Deprecated.CreateTaxonomyFacetCounts
, which also counts all facet labels.TaxonomyFacetLabels
(TaxonomyReader taxoReader, String indexFieldName) Sole constructor.protected
TaxonomyFacets
(String indexFieldName, TaxonomyReader taxoReader, FacetsConfig config) Deprecated.Sole constructor.TaxonomyFacetSumFloatAssociations
(String indexFieldName, TaxonomyReader taxoReader, FacetsConfig config, FacetsCollector fc) CreateTaxonomyFacetSumFloatAssociations
against the specified index field.TaxonomyFacetSumFloatAssociations
(TaxonomyReader taxoReader, FacetsConfig config, FacetsCollector fc) CreateTaxonomyFacetSumFloatAssociations
against the default index field.TaxonomyFacetSumIntAssociations
(String indexFieldName, TaxonomyReader taxoReader, FacetsConfig config, FacetsCollector fc) CreateTaxonomyFacetSumIntAssociations
against the specified index field.TaxonomyFacetSumIntAssociations
(TaxonomyReader taxoReader, FacetsConfig config, FacetsCollector fc) CreateTaxonomyFacetSumIntAssociations
against the default index field.TaxonomyFacetSumValueSource
(String indexField, TaxonomyReader taxoReader, FacetsConfig config, FacetsCollector fc, DoubleValuesSource valueSource) Aggreggates double facet values from the providedDoubleValuesSource
, pulling ordinals from the specified indexed facet field.TaxonomyFacetSumValueSource
(OrdinalsReader ordinalsReader, TaxonomyReader taxoReader, FacetsConfig config, FacetsCollector fc, DoubleValuesSource vs) Deprecated.Custom binary encodings for taxonomy ordinals are no longer supported starting with Lucene 9TaxonomyFacetSumValueSource
(TaxonomyReader taxoReader, FacetsConfig config, FacetsCollector fc, DoubleValuesSource valueSource) Aggreggates double facet values from the providedDoubleValuesSource
, pulling ordinals from the default indexed facet fieldFacetsConfig.DEFAULT_INDEX_FIELD_NAME
. -
Uses of TaxonomyReader in org.apache.lucene.facet.taxonomy.directory
Modifier and TypeClassDescriptionclass
ATaxonomyReader
which retrieves stored taxonomy information from aDirectory
.