Class LongValueFacetCounts

  • public class LongValueFacetCounts
    extends Facets
    Facets implementation that computes counts for all unique long values, more efficiently counting small values (0-1023) using an int array, and switching to a HashMap for values above 1023. Retrieve all facet counts, in value order, with getAllChildrenSortByValue(), or get all children with no ordering requirements with getAllChildren(String, String...), or get the topN values sorted by count with getTopChildren(int, String, String...).
    WARNING: This API is experimental and might change in incompatible ways in the next release.