Class FacetRequest.Builder

  • Enclosing class:
    FacetRequest

    public static final class FacetRequest.Builder
    extends Object
    A facet request builder. Each facet request should at least have the name of the facet. It can also includes number of values, a list of constraints on the values or a list of ranges for numeric facets. Note that the list of constraints and the list of ranges are mutually exclusive, i.e. you can specify one of them but not both.