Faceted Search API

API for faceted search has several interfaces - simple, top level ones, adequate for most users, and advanced, more complicated ones, for the more advanced users.

We now describe the simpler interfaces. There are mainly 3 interfaces for faceted search:

  1. {@link org.apache.lucene.facet.search.params.FacetRequest Facets Request} defines requirements:
  2. {@link org.apache.lucene.facet.search.FacetsAccumulator Facets Extractor} Controls how facets are extracted, with variations of:
  3. {@link org.apache.lucene.facet.search.FacetResultsHandler Facet Results Handler } Controls how results are further processed and merged (also between partitions):