Hi Tomasz
"facets": {"category_ids": {"terms": {"field": "category_ids",
"size": 5}}},
category_ids is a list/array of id: [1,2,3,4..]
currently, facet contains counters for all category_ids, but i need
facets only for specific category_id, for example 1 and 4.
How can I solve that?
You can use regex patterns or exclude to filter the faceted terms:
clint
tk