# Package org.apache.lucene.demo.facet

Facets example code.

- Class Summary
  Class | Description
  --- | ---
  AssociationsFacetsExample | Shows example usage of category associations.
  DistanceFacetsExample | Shows simple usage of dynamic range faceting, using the expressions module to calculate distance.
  ExpressionAggregationFacetsExample | Shows facets aggregation by an expression.
  MultiCategoryListsFacetsExample | Demonstrates indexing categories into different indexed fields.
  RangeFacetsExample | Shows simple usage of dynamic range faceting.
  SimpleFacetsExample | Shows simple usage of faceted indexing and search.
  SimpleSortedSetFacetsExample | Shows simple usage of faceted indexing and search, using `SortedSetDocValuesFacetField` and `SortedSetDocValuesFacetCounts`.