Class FacetsCollector

  • All Implemented Interfaces:
    Collector, LeafCollector
    Direct Known Subclasses:

    public class FacetsCollector
    extends SimpleCollector
    Collects hits for subsequent faceting. Once you've run a search and collect hits into this, instantiate one of the Facets subclasses to do the facet counting. Use the search utility methods to perform an "ordinary" search but also collect into a Collector.