Class FacetResult

  • All Implemented Interfaces:
    Serializable

    public final class FacetResult
    extends Object
    implements Serializable
    Represents a facet result computed from an extended search result set. A facet result contains a name, a type, and a set of values. Name is a single facet name and each value has a label and a count. The value label can be a single facet value name, or a range label (in "[start,end)" format).
    See Also:
    Serialized Form
    • Method Detail

      • getValues

        public List<FacetResultValue> getValues()
        The list of facet values computed during search. Each value result has a label, count, and refinement token.
        Returns:
        an unmodifiable list of values
      • getName

        public String getName()
        Name of this facet result that is a single facet name.
        Returns:
        name as string