This module provides multiple methods for computing facet counts and value aggregations:
At search time you first run your search, but pass a xref:Lucene.Net.Facet.FacetsCollector to gather all hits (and optionally, scores for each hit). Then, instantiate whichever facet methods you'd like to use to compute aggregates. Finally, all methods implement a common xref:Lucene.Net.Facet.Facets base API that you use to obtain specific facet counts.
The various FacetsCollector.Search() utility methods are useful for doing an “ordinary” search (sorting by score, or by a specified Sort) but also collecting into a xref:Lucene.Net.Facet.FacetsCollector for subsequent faceting.