Class SortedSetDocValuesFacetCounts


public class SortedSetDocValuesFacetCounts extends AbstractSortedSetDocValueFacetCounts
Compute facets counts from previously indexed SortedSetDocValuesFacetField, without require a separate taxonomy index. Faceting is a bit slower (~25%), and there is added cost on every IndexReader open to create a new SortedSetDocValuesReaderState.

NOTE: this class should be instantiated and then used from a single thread, because it holds a thread-private instance of SortedSetDocValues.

NOTE: tie-break is by unicode sort order

NOTE: if you have multi-valued dims that require dim counts (see FacetsConfig, make sure to provide your FacetsConfig instance when instantiating SortedSetDocValuesReaderState, or else dim counts can be inaccurate