# Uses of Class
org.apache.lucene.sandbox.facet.recorders.CountFacetRecorder

Packages that use CountFacetRecorder
Package
Description
org.apache.lucene.sandbox.facet.utils
Sandbox faceting: utility classes to make it easier to use the new API for standard use cases.

- ## Uses of CountFacetRecorder in org.apache.lucene.sandbox.facet.utils

  Methods in org.apache.lucene.sandbox.facet.utils with parameters of type CountFacetRecorder
  Modifier and Type
  Method
  Description
  `static ComparableSupplier<ComparableUtils.ByAggregatedValueComparable>`
  ComparableUtils.`byAggregatedValue(CountFacetRecorder countRecorder, LongAggregationsFacetRecorder longAggregationsFacetRecorder, int aggregationId)`
  `ComparableSupplier` to sort ordinals by long aggregation (descending) with tie-break by count (descending) or by ordinal (ascending) using provided `CountFacetRecorder` and `LongAggregationsFacetRecorder`.
  `static ComparableSupplier<ComparableUtils.ByCountComparable>`
  ComparableUtils.`byCount(CountFacetRecorder recorder)`
  `ComparableSupplier` to sort ordinals by count (descending) with ord as a tie-break (ascending) using provided `CountFacetRecorder`.
  `static ComparableSupplier<ComparableUtils.ByCountAndLongValueComparable>`
  ComparableUtils.`byCount(CountFacetRecorder countFacetRecorder, LongValueFacetCutter longValueFacetCutter)`
  `ComparableSupplier` to sort ordinals by count (descending) from `CountFacetRecorder` with tie-break by long value (ascending) from `LongValueFacetCutter`.