Uses of Class
org.apache.lucene.facet.FacetsConfig
-
Packages that use FacetsConfig Package Description org.apache.lucene.facet Faceted search.org.apache.lucene.facet.taxonomy Taxonomy of Categories. -
-
Uses of FacetsConfig in org.apache.lucene.facet
Fields in org.apache.lucene.facet declared as FacetsConfig Modifier and Type Field Description protected FacetsConfigDrillSideways. configFacetsConfigpassed to constructor.Methods in org.apache.lucene.facet with parameters of type FacetsConfig Modifier and Type Method Description FacetResultRandomSamplingFacetsCollector. amortizeFacetCounts(FacetResult res, FacetsConfig config, IndexSearcher searcher)Note: if you use a countingFacetsimplementation, you can amortize the sampled counts by calling this method.Constructors in org.apache.lucene.facet with parameters of type FacetsConfig Constructor Description DrillDownQuery(FacetsConfig config)Creates a newDrillDownQuerywithout a base query, to perform a pure browsing query (equivalent to usingMatchAllDocsQueryas base).DrillDownQuery(FacetsConfig config, Query baseQuery)Creates a newDrillDownQueryover the given base query.DrillSideways(IndexSearcher searcher, FacetsConfig config, SortedSetDocValuesReaderState state)Create a newDrillSidewaysinstance, assuming the categories were indexed withSortedSetDocValuesFacetField.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.FacetQuery(FacetsConfig facetsConfig, String dimension, String... path)Creates a newFacetQueryfiltering the query on the given dimension.MultiFacetQuery(FacetsConfig facetsConfig, String dimension, String[]... paths)Creates a newMultiFacetQueryfiltering the query on the given dimension. -
Uses of FacetsConfig in org.apache.lucene.facet.taxonomy
Fields in org.apache.lucene.facet.taxonomy declared as FacetsConfig Modifier and Type Field Description protected FacetsConfigTaxonomyFacets. configFacetsConfigprovided to the constructor.Methods in org.apache.lucene.facet.taxonomy with parameters of type FacetsConfig Modifier and Type Method Description static voidTaxonomyMergeUtils. merge(Directory srcIndexDir, Directory srcTaxoDir, DirectoryTaxonomyWriter.OrdinalMap map, IndexWriter destIndexWriter, DirectoryTaxonomyWriter destTaxoWriter, FacetsConfig srcConfig)Merges the given taxonomy and index directories and commits the changes to the given writers.Constructors in org.apache.lucene.facet.taxonomy with parameters of type FacetsConfig 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.OrdinalMappingLeafReader(LeafReader in, int[] ordinalMap, FacetsConfig srcConfig)Wraps an LeafReader, mapping ordinals according to the ordinalMap, using the providedFacetsConfigwhich was used to build the wrapped reader.TaxonomyFacetCounts(OrdinalsReader ordinalsReader, TaxonomyReader taxoReader, FacetsConfig config, FacetsCollector fc)Deprecated.CreateTaxonomyFacetCounts, which also counts all facet labels.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 fieldDEFAULT_INDEX_FIELD_NAME.
-