Uses of Class
org.apache.lucene.facet.taxonomy.TaxonomyReader
Packages that use TaxonomyReader
Package
Description
Faceted search.
Taxonomy of Categories.
Taxonomy index implementation using on top of a Directory.
Sandbox faceting: facet cutters, see
FacetCutter
for details.Sandbox faceting: facet labels, see
OrdToLabel for
details.-
Uses of TaxonomyReader in org.apache.lucene.facet
Fields in org.apache.lucene.facet declared as TaxonomyReaderModifier and TypeFieldDescriptionprotected final TaxonomyReaderDrillSideways.taxoReaderTaxonomyReaderpassed to constructor.Constructors in org.apache.lucene.facet with parameters of type TaxonomyReaderModifierConstructorDescriptionDrillSideways(IndexSearcher searcher, FacetsConfig config, TaxonomyReader taxoReader) Create a newDrillSidewaysinstance.DrillSideways(IndexSearcher searcher, FacetsConfig config, TaxonomyReader taxoReader, SortedSetDocValuesReaderState state) Create a newDrillSidewaysinstance, where some dimensions were indexed withSortedSetDocValuesFacetFieldand others were indexed withFacetField.DrillSideways(IndexSearcher searcher, FacetsConfig config, TaxonomyReader taxoReader, SortedSetDocValuesReaderState state, ExecutorService executor) Create a newDrillSidewaysinstance, where some dimensions were indexed withSortedSetDocValuesFacetFieldand others were indexed withFacetField. -
Uses of TaxonomyReader in org.apache.lucene.facet.taxonomy
Fields in org.apache.lucene.facet.taxonomy declared as TaxonomyReaderModifier and TypeFieldDescriptionprivate final TaxonomyReaderTaxonomyFacetLabels.taxoReaderTaxonomyReaderprovided to the constructorprotected final TaxonomyReaderTaxonomyFacets.taxoReaderDeprecated.TaxonomyReaderprovided to the constructor.Methods in org.apache.lucene.facet.taxonomy with type parameters of type TaxonomyReaderModifier 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.Methods in org.apache.lucene.facet.taxonomy that return TaxonomyReaderModifier and TypeMethodDescriptionprotected abstract TaxonomyReaderTaxonomyReader.doOpenIfChanged()Implements the actual opening of a newTaxonomyReaderinstance if the taxonomy has changed.Methods in org.apache.lucene.facet.taxonomy with parameters of type TaxonomyReaderModifier and TypeMethodDescriptionprivate static intPrintTaxonomyStats.countAllChildren(TaxonomyReader r, int ord) private static voidPrintTaxonomyStats.printAllChildren(PrintStream out, TaxonomyReader r, int ord, String indent, int depth) static voidPrintTaxonomyStats.printStats(TaxonomyReader r, PrintStream out, boolean printTree) Recursively prints stats for all ordinals.protected booleanTaxonomyFacets.useHashTable(FacetsCollector fc, TaxonomyReader taxoReader) Deprecated.Return true if a sparse hash table should be used for counting, instead of a dense int[].Constructors in org.apache.lucene.facet.taxonomy with parameters of type TaxonomyReaderModifierConstructorDescriptionFastTaxonomyFacetCounts(String indexFieldName, TaxonomyReader taxoReader, FacetsConfig config, FacetsCollector fc) CreateFastTaxonomyFacetCounts, using the specifiedindexFieldNamefor ordinals.FastTaxonomyFacetCounts(String indexFieldName, IndexReader reader, TaxonomyReader taxoReader, FacetsConfig config) CreateFastTaxonomyFacetCounts, using the specifiedindexFieldNamefor ordinals, and counting all non-deleted documents in the index.FastTaxonomyFacetCounts(TaxonomyReader taxoReader, FacetsConfig config, FacetsCollector fc) CreateFastTaxonomyFacetCounts, which also counts all facet labels.protectedFloatTaxonomyFacets(String indexFieldName, TaxonomyReader taxoReader, FacetsConfig config) Deprecated.Constructor that defaults the aggregation function toAssociationAggregationFunction.SUM.protectedFloatTaxonomyFacets(String indexFieldName, TaxonomyReader taxoReader, AssociationAggregationFunction aggregationFunction, FacetsConfig config, FacetsCollector fc) Deprecated.Constructor that uses the provided aggregation function.protectedIntTaxonomyFacets(String indexFieldName, TaxonomyReader taxoReader, FacetsConfig config, FacetsCollector fc) Deprecated.Constructor that defaults the aggregation function toAssociationAggregationFunction.SUM.protectedIntTaxonomyFacets(String indexFieldName, TaxonomyReader taxoReader, FacetsConfig config, AssociationAggregationFunction aggregationFunction, FacetsCollector fc) Deprecated.Constructor that uses the provided aggregation function.TaxonomyFacetCounts(OrdinalsReader ordinalsReader, TaxonomyReader taxoReader, FacetsConfig config, FacetsCollector fc) Deprecated.CreateTaxonomyFacetCounts, which also counts all facet labels.TaxonomyFacetFloatAssociations(String indexFieldName, TaxonomyReader taxoReader, FacetsConfig config, FacetsCollector fc, AssociationAggregationFunction aggregationFunction) CreateTaxonomyFacetFloatAssociationsagainst the specified index field.TaxonomyFacetFloatAssociations(String indexFieldName, TaxonomyReader taxoReader, FacetsConfig config, FacetsCollector fc, AssociationAggregationFunction aggregationFunction, DoubleValuesSource valuesSource) CreateTaxonomyFacetFloatAssociationsagainst the specified index field.TaxonomyFacetFloatAssociations(OrdinalsReader ordinalsReader, TaxonomyReader taxoReader, FacetsConfig config, FacetsCollector fc, AssociationAggregationFunction aggregationFunction, DoubleValuesSource valuesSource) Deprecated.Custom binary encodings for taxonomy ordinals are no longer supported starting with Lucene 9TaxonomyFacetFloatAssociations(TaxonomyReader taxoReader, FacetsConfig config, FacetsCollector fc, AssociationAggregationFunction aggregationFunction) CreateTaxonomyFacetFloatAssociationsagainst the default index field.TaxonomyFacetFloatAssociations(TaxonomyReader taxoReader, FacetsConfig config, FacetsCollector fc, AssociationAggregationFunction aggregationFunction, DoubleValuesSource valuesSource) CreateTaxonomyFacetFloatAssociationsagainst the default index field.TaxonomyFacetIntAssociations(String indexFieldName, TaxonomyReader taxoReader, FacetsConfig config, FacetsCollector fc, AssociationAggregationFunction aggregationFunction) CreateTaxonomyFacetIntAssociationsagainst the specified index field.TaxonomyFacetIntAssociations(TaxonomyReader taxoReader, FacetsConfig config, FacetsCollector fc, AssociationAggregationFunction aggregationFunction) CreateTaxonomyFacetIntAssociationsagainst the default index field.TaxonomyFacetLabels(TaxonomyReader taxoReader, String indexFieldName) Sole constructor.protectedTaxonomyFacets(String indexFieldName, TaxonomyReader taxoReader, FacetsConfig config) Deprecated.To be removed in Lucene 10.(package private)TaxonomyFacets(String indexFieldName, TaxonomyReader taxoReader, FacetsConfig config, FacetsCollector fc) Deprecated.Constructor with aFacetsCollector, allowing lazy initialization of internal data structures.TaxonomyFacetSumFloatAssociations(String indexFieldName, TaxonomyReader taxoReader, FacetsConfig config, FacetsCollector fc) Deprecated.CreateTaxonomyFacetSumFloatAssociationsagainst the specified index field.TaxonomyFacetSumFloatAssociations(TaxonomyReader taxoReader, FacetsConfig config, FacetsCollector fc) Deprecated.CreateTaxonomyFacetSumFloatAssociationsagainst the default index field.TaxonomyFacetSumIntAssociations(String indexFieldName, TaxonomyReader taxoReader, FacetsConfig config, FacetsCollector fc) Deprecated.CreateTaxonomyFacetSumIntAssociationsagainst the specified index field.TaxonomyFacetSumIntAssociations(TaxonomyReader taxoReader, FacetsConfig config, FacetsCollector fc) Deprecated.CreateTaxonomyFacetSumIntAssociationsagainst the default index field.TaxonomyFacetSumValueSource(String indexField, TaxonomyReader taxoReader, FacetsConfig config, FacetsCollector fc, DoubleValuesSource valueSource) Deprecated.Aggregates 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) Deprecated.Aggregates 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
Subclasses of TaxonomyReader in org.apache.lucene.facet.taxonomy.directoryModifier and TypeClassDescriptionclassATaxonomyReaderwhich retrieves stored taxonomy information from aDirectory. -
Uses of TaxonomyReader in org.apache.lucene.sandbox.facet.cutters
Fields in org.apache.lucene.sandbox.facet.cutters declared as TaxonomyReaderConstructors in org.apache.lucene.sandbox.facet.cutters with parameters of type TaxonomyReaderModifierConstructorDescriptionTaxonomyFacetsCutter(String indexFieldName, FacetsConfig facetsConfig, TaxonomyReader taxoReader) CreateFacetCutterfor taxonomy facets.TaxonomyFacetsCutter(String indexFieldName, FacetsConfig facetsConfig, TaxonomyReader taxoReader, boolean disableRollup) Expert: CreateFacetCutterfor taxonomy facets. -
Uses of TaxonomyReader in org.apache.lucene.sandbox.facet.labels
Fields in org.apache.lucene.sandbox.facet.labels declared as TaxonomyReaderConstructors in org.apache.lucene.sandbox.facet.labels with parameters of type TaxonomyReader