Uses of Class
org.apache.lucene.facet.taxonomy.TaxonomyReader
-
Packages that use TaxonomyReader Package Description org.apache.lucene.facet Faceted search.org.apache.lucene.facet.taxonomy Taxonomy of Categories.org.apache.lucene.facet.taxonomy.directory Taxonomy index implementation using on top of a Directory. -
-
Uses of TaxonomyReader in org.apache.lucene.facet
Fields in org.apache.lucene.facet declared as TaxonomyReader Modifier and Type Field Description protected TaxonomyReaderDrillSideways. taxoReaderTaxonomyReaderpassed to constructor.Constructors in org.apache.lucene.facet with parameters of type TaxonomyReader Constructor Description DrillSideways(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 TaxonomyReader Modifier and Type Field Description protected TaxonomyReaderTaxonomyFacets. taxoReaderTaxonomyReaderprovided to the constructor.Methods in org.apache.lucene.facet.taxonomy with type parameters of type TaxonomyReader Modifier and Type Method Description static <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 TaxonomyReader Modifier and Type Method Description protected 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 TaxonomyReader Modifier and Type Method Description static voidPrintTaxonomyStats. printStats(TaxonomyReader r, PrintStream out, boolean printTree)Recursively prints stats for all ordinals.protected booleanIntTaxonomyFacets. useHashTable(FacetsCollector fc, TaxonomyReader taxoReader)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 TaxonomyReader Constructor Description FastTaxonomyFacetCounts(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.FloatTaxonomyFacets(String indexFieldName, TaxonomyReader taxoReader, FacetsConfig config)Sole constructor.IntTaxonomyFacets(String indexFieldName, TaxonomyReader taxoReader, FacetsConfig config, FacetsCollector fc)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.TaxonomyFacets(String indexFieldName, TaxonomyReader taxoReader, FacetsConfig config)Sole constructor.TaxonomyFacetSumFloatAssociations(String indexFieldName, TaxonomyReader taxoReader, FacetsConfig config, FacetsCollector fc)CreateTaxonomyFacetSumFloatAssociationsagainst the specified index field.TaxonomyFacetSumFloatAssociations(TaxonomyReader taxoReader, FacetsConfig config, FacetsCollector fc)CreateTaxonomyFacetSumFloatAssociationsagainst the default index field.TaxonomyFacetSumIntAssociations(String indexFieldName, TaxonomyReader taxoReader, FacetsConfig config, FacetsCollector fc)CreateTaxonomyFacetSumIntAssociationsagainst the specified index field.TaxonomyFacetSumIntAssociations(TaxonomyReader taxoReader, FacetsConfig config, FacetsCollector fc)CreateTaxonomyFacetSumIntAssociationsagainst 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
Subclasses of TaxonomyReader in org.apache.lucene.facet.taxonomy.directory Modifier and Type Class Description classDirectoryTaxonomyReaderATaxonomyReaderwhich retrieves stored taxonomy information from aDirectory.
-