Uses of Class
org.apache.lucene.facet.Facets
Package
Description
Faceted search.
Provides range faceting capabilities.
Provides faceting capabilities over facets that were indexed with
SortedSetDocValuesFacetField
.Taxonomy of Categories.
-
Uses of Facets in org.apache.lucene.facet
Modifier and TypeClassDescriptionclass
Facets
implementation that computes counts for all unique long values, more efficiently counting small values (0-1023) using an int array, and switching to aHashMap
for values above 1023.class
Maps specified dims to provided Facets impls; else, uses the default Facets impl.class
Compute facet counts from a previously indexedSortedSetDocValues
orSortedDocValues
field.Modifier and TypeFieldDescriptionfinal Facets
DrillSideways.DrillSidewaysResult.facets
Combined drill down and sideways results.Modifier and TypeMethodDescriptionprotected Facets
DrillSideways.buildFacetsResult
(FacetsCollector drillDowns, FacetsCollector[] drillSideways, String[] drillSidewaysDims) Subclass can override to customize per-dim Facets impl.ModifierConstructorDescriptionDrillSidewaysResult
(Facets facets, TopDocs hits, FacetsCollector drillDownFacetsCollector, FacetsCollector[] drillSidewaysFacetsCollector, String[] drillSidewaysDims) Sole constructor.MultiFacets
(Map<String, Facets> dimToFacets, Facets defaultFacets) Create this, with the specified defaultFacets
for fields not included indimToFacets
. -
Uses of Facets in org.apache.lucene.facet.range
-
Uses of Facets in org.apache.lucene.facet.sortedset
Modifier and TypeClassDescriptionclass
LikeSortedSetDocValuesFacetCounts
, but aggregates counts concurrently across segments.class
Compute facets counts from previously indexedSortedSetDocValuesFacetField
, without require a separate taxonomy index. -
Uses of Facets in org.apache.lucene.facet.taxonomy
Modifier and TypeClassDescriptionclass
Computes facets counts, assuming the default encoding into DocValues was used.class
Deprecated.Visibility of this class will be reduced to pkg-private in a future version.class
Deprecated.Visibility of this class will be reduced to pkg-private in a future version.class
Deprecated.Custom binary encodings for taxonomy ordinals are no longer supported starting with Lucene 9.class
Deprecated.Visibility of this class will be reduced to pkg-private in a future version.class
Aggregates sum of int values previously indexed withFloatAssociationFacetField
, assuming the default encoding.class
Aggregates sum of int values previously indexed withIntAssociationFacetField
, assuming the default encoding.class
Aggregates sum of values fromDoubleValues.doubleValue()
, for each facet label.