Values
facetValues any facetable field except hierarchy fieldsWhat it does
The field's values with the number of products for each, such as brands or colors. In the cabinet this type is called Values.
limit: how many values the response returns, 1 to 500. Default 20.order:count(most products first, the default) orkey(alphabetical).
{ "type": "terms", "field": "brand", "label": "Brand", "limit": 30, "order": "count" }
Best practices and common mistakes
- Values are counted exactly as stored, so "Samsung" and "samsung" are two values. Clean the data before you upload it.
- A value outside the limit is not in the response, but a request may still filter on it. Raise the limit when shoppers need to see every brand.

