Class FacetsCollector

java.lang.Object
org.apache.lucene.search.SimpleCollector
org.apache.lucene.facet.FacetsCollector
All Implemented Interfaces:
Collector, LeafCollector
Direct Known Subclasses:
RandomSamplingFacetsCollector

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.