Uses of Class
org.apache.lucene.facet.FacetsConfig
Packages that use FacetsConfig
Package
Description
Faceted search.
Provides faceting capabilities over facets that were indexed with
SortedSetDocValuesFacetField.Taxonomy of Categories.
Sandbox faceting: facet cutters, see
FacetCutter
for details.-
Uses of FacetsConfig in org.apache.lucene.facet
Fields in org.apache.lucene.facet declared as FacetsConfigModifier and TypeFieldDescriptionprivate final FacetsConfigDrillDownQuery.configprotected final FacetsConfigDrillSideways.configFacetsConfigpassed to constructor.Methods in org.apache.lucene.facet with parameters of type FacetsConfigModifier and TypeMethodDescriptionRandomSamplingFacetsCollector.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 FacetsConfigModifierConstructorDescriptionDrillDownQuery(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.(package private)DrillDownQuery(FacetsConfig config, Query baseQuery, List<BooleanQuery.Builder> dimQueries, Map<String, Integer> drillDownDims) Used by clone() and DrillSideways(package private)DrillDownQuery(FacetsConfig config, Query filter, DrillDownQuery other) Used by DrillSidewaysDrillSideways(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.sortedset
Fields in org.apache.lucene.facet.sortedset declared as FacetsConfigModifier and TypeFieldDescriptionprivate final FacetsConfigDefaultSortedSetDocValuesReaderState.config(package private) final FacetsConfigAbstractSortedSetDocValueFacetCounts.stateConfigMethods in org.apache.lucene.facet.sortedset that return FacetsConfigModifier and TypeMethodDescriptionDefaultSortedSetDocValuesReaderState.getFacetsConfig()abstract FacetsConfigSortedSetDocValuesReaderState.getFacetsConfig()Returns the associated facet config.Constructors in org.apache.lucene.facet.sortedset with parameters of type FacetsConfigModifierConstructorDescriptionDefaultSortedSetDocValuesReaderState(IndexReader reader, String field, FacetsConfig config) Creates this, pulling doc values from the specified field.DefaultSortedSetDocValuesReaderState(IndexReader reader, FacetsConfig config) Creates this with a config, pulling doc values from the defaultDEFAULT_INDEX_FIELD_NAME. -
Uses of FacetsConfig in org.apache.lucene.facet.taxonomy
Fields in org.apache.lucene.facet.taxonomy declared as FacetsConfigModifier and TypeFieldDescription(package private) final FacetsConfigTaxonomyFacets.configFacetsConfigprovided to the constructor.Methods in org.apache.lucene.facet.taxonomy with parameters of type FacetsConfigModifier and TypeMethodDescriptionstatic 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 FacetsConfigModifierConstructorDescriptionFastTaxonomyFacetCounts(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.(package private)FloatTaxonomyFacets(String indexFieldName, TaxonomyReader taxoReader, AssociationAggregationFunction aggregationFunction, FacetsConfig config, FacetsCollector fc) Sole constructor.(package private)IntTaxonomyFacets(String indexFieldName, TaxonomyReader taxoReader, FacetsConfig config, AssociationAggregationFunction aggregationFunction, 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.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(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.(package private)TaxonomyFacets(String indexFieldName, TaxonomyReader taxoReader, FacetsConfig config, FacetsCollector fc) Sole constructor. -
Uses of FacetsConfig in org.apache.lucene.sandbox.facet.cutters
Fields in org.apache.lucene.sandbox.facet.cutters declared as FacetsConfigConstructors in org.apache.lucene.sandbox.facet.cutters with parameters of type FacetsConfigModifierConstructorDescriptionTaxonomyFacetsCutter(String indexFieldName, FacetsConfig facetsConfig, TaxonomyReader taxoReader) CreateFacetCutterfor taxonomy facets.TaxonomyFacetsCutter(String indexFieldName, FacetsConfig facetsConfig, TaxonomyReader taxoReader, boolean disableRollup) Expert: CreateFacetCutterfor taxonomy facets.