Uses of Class org.apache.lucene.facet.Facets (Lucene 10.5.1 facet API)
Description: use: package: org.apache.lucene.facet, class: Facets

# Uses of Class
org.apache.lucene.facet.Facets

Packages that use Facets
Package
Description
org.apache.lucene.facet
Faceted search.
org.apache.lucene.facet.facetset
Provides FacetSets faceting capabilities which allows users to facet on high dimensional field values.
org.apache.lucene.facet.range
Provides range faceting capabilities.
org.apache.lucene.facet.rangeonrange
Provides range on range faceting capabilities.
org.apache.lucene.facet.sortedset
Provides faceting capabilities over facets that were indexed with `SortedSetDocValuesFacetField`.
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`
  `FacetCountsWithFilterQuery`
  Base class for facet counts.
  `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 a `HashMap` 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 indexed `SortedSetDocValues` or `SortedDocValues` field.
  Fields in org.apache.lucene.facet declared as Facets
  Modifier and Type
  Field
  Description
  `final 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
  Modifier
  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 default `Facets` for fields not included in `dimToFacets`.
  Constructor parameters in org.apache.lucene.facet with type arguments of type Facets
  Modifier
  Constructor
  Description
  ``
  `MultiFacets(Map<String,Facets> dimToFacets)`
  Create this, with no default `Facets`.
  ``
  `MultiFacets(Map<String,Facets> dimToFacets, Facets defaultFacets)`
  Create this, with the specified default `Facets` for fields not included in `dimToFacets`.

- ## Uses of Facets in org.apache.lucene.facet.facetset

  Subclasses of Facets in org.apache.lucene.facet.facetset
  Modifier and Type
  Class
  Description
  `class`
  `MatchingFacetSetsCounts`
  Returns the counts for each given `FacetSet`

- ## 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.rangeonrange

  Subclasses of Facets in org.apache.lucene.facet.rangeonrange
  Modifier and Type
  Class
  Description
  `class`
  `DoubleRangeOnRangeFacetCounts`
  Represents counts for double range on range faceting.
  `class`
  `LongRangeOnRangeFacetCounts`
  Represents counts for long range on range faceting.

- ## 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`
  Like `SortedSetDocValuesFacetCounts`, but aggregates counts concurrently across segments.
  `class`
  `SortedSetDocValuesFacetCounts`
  Compute facets counts from previously indexed `SortedSetDocValuesFacetField`, 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`
  `TaxonomyFacetFloatAssociations`
  Aggregates float values associated with facet fields.
  `class`
  `TaxonomyFacetIntAssociations`
  Aggregates int values previously indexed with `IntAssociationFacetField`, assuming the default encoding.