Uses of Class
org.apache.lucene.facet.Facets
-
Packages that use Facets Package Description org.apache.lucene.facet Faceted search.org.apache.lucene.facet.range Provides range faceting capabilities.org.apache.lucene.facet.sortedset Provides faceting capabilities over facets that were indexed withSortedSetDocValuesFacetField
.org.apache.lucene.facet.taxonomy Taxonomy of Categories. -
-
Uses of Facets in org.apache.lucene.facet
Subclasses of Facets in org.apache.lucene.facet Modifier and Type Class Description class
LongValueFacetCounts
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
MultiFacets
Maps specified dims to provided Facets impls; else, uses the default Facets impl.class
StringValueFacetCounts
Compute facet counts from a previously indexedSortedSetDocValues
orSortedDocValues
field.Fields in org.apache.lucene.facet declared as Facets Modifier and Type Field Description Facets
DrillSideways.DrillSidewaysResult. facets
Combined drill down and sideways results.Methods in org.apache.lucene.facet that return Facets Modifier and Type Method Description protected Facets
DrillSideways. buildFacetsResult(FacetsCollector drillDowns, FacetsCollector[] drillSideways, String[] drillSidewaysDims)
Subclass can override to customize per-dim Facets impl.Constructors in org.apache.lucene.facet with parameters of type Facets Constructor Description DrillSidewaysResult(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
.Constructor parameters in org.apache.lucene.facet with type arguments of type Facets Constructor Description MultiFacets(Map<String,Facets> dimToFacets)
Create this, with no defaultFacets
.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
Subclasses of Facets in org.apache.lucene.facet.range Modifier and Type Class Description class
DoubleRangeFacetCounts
Facets
implementation that computes counts for dynamic double ranges.class
LongRangeFacetCounts
Facets
implementation that computes counts for dynamic long ranges. -
Uses of Facets in org.apache.lucene.facet.sortedset
Subclasses of Facets in org.apache.lucene.facet.sortedset Modifier and Type Class Description class
ConcurrentSortedSetDocValuesFacetCounts
LikeSortedSetDocValuesFacetCounts
, but aggregates counts concurrently across segments.class
SortedSetDocValuesFacetCounts
Compute facets counts from previously indexedSortedSetDocValuesFacetField
, without require a separate taxonomy index. -
Uses of Facets in org.apache.lucene.facet.taxonomy
Subclasses of Facets in org.apache.lucene.facet.taxonomy Modifier and Type Class Description class
FastTaxonomyFacetCounts
Computes facets counts, assuming the default encoding into DocValues was used.class
FloatTaxonomyFacets
Base class for all taxonomy-based facets that aggregate to a per-ords float[].class
IntTaxonomyFacets
Base class for all taxonomy-based facets that aggregate to a per-ords int[].class
TaxonomyFacetCounts
Deprecated.Custom binary encodings for taxonomy ordinals are no longer supported starting with Lucene 9.class
TaxonomyFacets
Base class for all taxonomy-based facets impls.class
TaxonomyFacetSumFloatAssociations
Aggregates sum of int values previously indexed withFloatAssociationFacetField
, assuming the default encoding.class
TaxonomyFacetSumIntAssociations
Aggregates sum of int values previously indexed withIntAssociationFacetField
, assuming the default encoding.class
TaxonomyFacetSumValueSource
Aggregates sum of values fromDoubleValues.doubleValue()
, for each facet label.
-