# Uses of Class
org.apache.lucene.sandbox.facet.utils.CommonFacetBuilder

Packages that use CommonFacetBuilder
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 CommonFacetBuilder in org.apache.lucene.sandbox.facet.utils

  Methods in org.apache.lucene.sandbox.facet.utils that return CommonFacetBuilder
  Modifier and Type
  Method
  Description
  `static CommonFacetBuilder`
  RangeFacetBuilderFactory.`forDoubleRanges(String dimension, MultiDoubleValuesSource valuesSource, DoubleRange... ranges)`
  Request double range facets for provided `MultiDoubleValuesSource` by default sorted in original ranges order.
  `static CommonFacetBuilder`
  RangeFacetBuilderFactory.`forDoubleRanges(String field, DoubleRange... ranges)`
  Request double range facets for numeric field by name.
  `static CommonFacetBuilder`
  RangeFacetBuilderFactory.`forLongRanges(String dimension, MultiLongValuesSource valuesSource, LongRange... ranges)`
  Request long range facets for provided `MultiLongValuesSource` by default sorted in original ranges order.
  `static CommonFacetBuilder`
  RangeFacetBuilderFactory.`forLongRanges(String field, LongRange... ranges)`
  Request long range facets for numeric field by name.