SortFacetValuesBy

public enum SortFacetValuesBy : String

Values applicable to the sortFacetValuesBy parameter.

  • Facet values are sorted by decreasing count, the count being the number of records containing this facet value in the results of the query (default behavior).

    Declaration

    Swift

    case count = "count"
  • Facet values are sorted by increasing alphabetical order.

    Declaration

    Swift

    case alpha = "alpha"