Uses of Package
org.apache.lucene.facet.taxonomy
Packages that use org.apache.lucene.facet.taxonomy
Package
Description
Faceted search.
Taxonomy of Categories.
Taxonomy index implementation using on top of a Directory.
Improves indexing time by caching a map of CategoryPath to their Ordinal.
Sandbox faceting: facet cutters, see
FacetCutter
for details.Sandbox faceting: facet ordinals.
Sandbox faceting: facet labels, see
OrdToLabel
for
details.-
Classes in org.apache.lucene.facet.taxonomy used by org.apache.lucene.facetClassDescriptionAdd an instance of this to your
Document
to add a facet label associated with an arbitrary byte[].Holds a sequence of string components, specifying the hierarchical name of a category.TaxonomyReader is the read-only interface with which the faceted-search library uses the taxonomy during search time.TaxonomyWriter is the interface which the faceted-search library uses to dynamically build the taxonomy at indexing time. -
Classes in org.apache.lucene.facet.taxonomy used by org.apache.lucene.facet.taxonomyClassDescriptionSpecify aggregation logic used in
TaxonomyFacetIntAssociations
andTaxonomyFacetFloatAssociations
.Add an instance of this to yourDocument
to add a facet label associated with an arbitrary byte[].Deprecated.Holds the cached ordinals in two parallelint[]
arrays.Holds a sequence of string components, specifying the hierarchical name of a category.Deprecated.Visibility of this class will be reduced to pkg-private in a future version.Deprecated.Visibility of this class will be reduced to pkg-private in a future version.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.Deprecated.Custom binary encodings for taxonomy ordinals are no longer supported starting with Lucene 9Deprecated.Returns ordinals for documents in one segment.Returns 3 arrays for traversing the taxonomy:parents
:parents[i]
denotes the parent of category ordinali
.Abstraction that looks like an int[], but read-only.Holds a matched pair ofIndexSearcher
andTaxonomyReader
Aggregates float values associated with facet fields.Aggregates int values previously indexed withIntAssociationFacetField
, assuming the default encoding.Utility class to retrieve facet labels for multiple documents.Deprecated.Visibility of this class will be reduced to pkg-private in a future version.Deprecated.An accumulator for an aggregated value.Deprecated.Intermediate result to store top children for a given path before resolving labels, etc.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. -
Classes in org.apache.lucene.facet.taxonomy used by org.apache.lucene.facet.taxonomy.directoryClassDescriptionHolds a sequence of string components, specifying the hierarchical name of a category.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.Returns 3 arrays for traversing the taxonomy:
parents
:parents[i]
denotes the parent of category ordinali
.Abstraction that looks like an int[], but read-only.TaxonomyReader is the read-only interface with which the faceted-search library uses the taxonomy during search time.TaxonomyWriter is the interface which the faceted-search library uses to dynamically build the taxonomy at indexing time. -
Classes in org.apache.lucene.facet.taxonomy used by org.apache.lucene.facet.taxonomy.writercacheClassDescriptionHolds a sequence of string components, specifying the hierarchical name of a category.
-
Classes in org.apache.lucene.facet.taxonomy used by org.apache.lucene.sandbox.facet.cuttersClassDescriptionHolds a sequence of string components, specifying the hierarchical name of a category.Abstraction that looks like an int[], but read-only.TaxonomyReader is the read-only interface with which the faceted-search library uses the taxonomy during search time.
-
Classes in org.apache.lucene.facet.taxonomy used by org.apache.lucene.sandbox.facet.iteratorsClassDescriptionHolds a sequence of string components, specifying the hierarchical name of a category.Abstraction that looks like an int[], but read-only.
-
Classes in org.apache.lucene.facet.taxonomy used by org.apache.lucene.sandbox.facet.labelsClassDescriptionHolds a sequence of string components, specifying the hierarchical name of a category.TaxonomyReader is the read-only interface with which the faceted-search library uses the taxonomy during search time.