All Classes and Interfaces

Class
Description
Specify aggregation logic used in TaxonomyFacetIntAssociations and TaxonomyFacetFloatAssociations.
Add an instance of this to your Document to add a facet label associated with an arbitrary byte[].
Deprecated.
Only here for back-compat support.
Deprecated.
Custom binary encodings for taxonomy ordinals are no longer supported starting with Lucene 9
Holds the cached ordinals in two parallel int[] arrays.
Like SortedSetDocValuesFacetCounts, but aggregates counts concurrently across segments.
Default implementation of SortedSetDocValuesFacetCounts.
Defines a single range in a FacetSet dimension.
A TaxonomyReader which retrieves stored taxonomy information from a Directory.
TaxonomyWriter which uses a Directory to store the taxonomy information on disk, and keeps an additional in-memory cache of some or all categories.
DirectoryTaxonomyWriter.OrdinalMap maintained on file system
Mapping from old ordinal to new ordinals, used when merging indexes with separate taxonomies.
Deprecated.
Custom binary encodings for taxonomy ordinals are no longer supported starting with Lucene 9
A FacetSet which encodes double dimension values.
Represents a range over double values.
Represents a double range for RangeOnRange faceting
Facets implementation that computes counts for dynamic double ranges.
Represents counts for double range on range faceting.
A Query for drill-down over facet categories.
Computes drill down and sideways counts for the provided DrillDownQuery.
Result of a concurrent drill sideways search, including the Facets and TopDocs.
Result of a drill sideways search, including the Facets and TopDocs.
A FacetSetMatcher which considers a set as a match only if all dimension values are equal to the given one.
Base class for facet counts.
Add an instance of this to your Document for every facet label.
Holds a sequence of string components, specifying the hierarchical name of a category.
A term Query over a FacetField.
Counts or aggregates for a single dimension.
Common base class for all facets implementations.
Collects hits for subsequent faceting.
Holds the documents that were matched in the LeafReaderContext.
A CollectorManager implementation which produces FacetsCollector and produces a merged FacetsCollector.
Records per-dimension configuration.
Holds the configuration for one dimension
Drill down terms indexing option to control whether dimension and sub-path terms should be indexed.
Holds a set of facet dimension values.
A functional interface for decoding facet set values into comparable `long` ones.
Matches the encoded FacetSet that was indexed in FacetSetsField.
A BinaryDocValuesField which encodes a list of facet sets.
Utility class with a single method for getting a DocIdSetIterator that skips deleted docs
Computes facets counts, assuming the default encoding into DocValues was used.
Add an instance of this to your Document to add a facet label associated with a float.
A FacetSet which encodes float dimension values.
Deprecated.
Visibility of this class will be reduced to pkg-private in a future version.
Add an instance of this to your Document to add a facet label associated with an int.
A FacetSet which encodes integer dimension values.
Deprecated.
Visibility of this class will be reduced to pkg-private in a future version.
Single label and its value, usually contained in a FacetResult.
Abstract class for storing Label->Ordinal mappings in a taxonomy.
A FacetSet which encodes long dimension values.
Represents a range over long values.
Represents a long range for RangeOnRange faceting
Facets implementation that computes counts for dynamic long ranges.
Represents counts for long range on range faceting.
Facets implementation that computes counts for all unique long values, more efficiently counting small values (0-1023) using an int array, and switching to a HashMap for values above 1023.
LRUHashMap is an extension of Java's HashMap, which has a bounded size(); When it reaches that size, each time a new element is added, the least recently used (LRU) entry is removed.
LRU TaxonomyWriterCache - good choice for huge taxonomies.
Determines cache type.
Returns the counts for each given FacetSet
Per-segment, per-document double values, which can be calculated at search-time.
Base class for producing MultiDoubleValues.
A multi-terms Query over a FacetField.
Maps specified dims to provided Facets impls; else, uses the default Facets impl.
Per-segment, per-document long values, which can be calculated at search-time.
Base class for producing MultiLongValues.
An LRU cache of mapping from name to int.
A FilterLeafReader for updating facets ordinal references, based on an ordinal map.
Deprecated.
Custom binary encodings for taxonomy ordinals are no longer supported starting with Lucene 9
Returns ordinals for documents in one segment.
Returns 3 arrays for traversing the taxonomy: parents: parents[i] denotes the parent of category ordinal i.
Prints how many ords are under each dimension.
Collects hits for subsequent faceting, using sampling if needed.
Base class for a single labeled range.
Base class for a single labeled range.
A FacetSetMatcher which considers a set as a match if all dimensions fall within the given corresponding range.
Manages near-real-time reopen of both an IndexSearcher and a TaxonomyReader.
Holds a matched pair of IndexSearcher and TaxonomyReader
Compute facets counts from previously indexed SortedSetDocValuesFacetField, without require a separate taxonomy index.
Add an instance of this to your Document for every facet label to be indexed via SortedSetDocValues.
Wraps a IndexReader and resolves ords using existing SortedSetDocValues APIs without a separate taxonomy index.
Holds children and sibling information for a single dimension.
Holds start/end range of ords, which maps to one dimension.
Stores an OrdinalMap created for a specific IndexReader (reader) + field.
Compute facet counts from a previously indexed SortedSetDocValues or SortedDocValues field.
Deprecated.
Custom binary encodings for taxonomy ordinals are no longer supported starting with Lucene 9.
Aggregates float values associated with facet fields.
Aggregates int values previously indexed with IntAssociationFacetField, assuming the default encoding.
Utility class to easily retrieve previously indexed facet labels, allowing you to skip also adding stored fields for these values, reducing your index size.
Deprecated.
Visibility of this class will be reduced to pkg-private in a future version.
Deprecated.
This class is being deprecated in favor of TaxonomyFacetFloatAssociations, which provides more flexible aggregation functionality beyond just "sum"
Deprecated.
This class is being deprecated in favor of TaxonomyFacetIntAssociations, which provides more flexible aggregation functionality beyond just "sum"
Deprecated.
This class is being deprecated in favor of TaxonomyFacetFloatAssociations, which provides more flexible aggregation functionality beyond just "sum"
Utility methods for merging index and taxonomy directories.
TaxonomyReader is the read-only interface with which the faceted-search library uses the taxonomy during search time.
An iterator over a category's children.
TaxonomyWriter is the interface which the faceted-search library uses to dynamically build the taxonomy at indexing time.
TaxonomyWriterCache is a relatively simple interface for a cache of category->ordinal mappings, used in TaxonomyWriter implementations (such as DirectoryTaxonomyWriter).
Keeps highest results, first by largest float value, then tie break by smallest ord.
Holds a single entry.
Keeps highest results, first by largest int value, then tie break by smallest ord.
Holds a single entry.
Deprecated.