it removes existing faceted values after applying ...
# community-help
a
it removes existing faceted values after applying filters
k
Yes you are filtering on those two values so the facets are going to include only those
a
but i want facets contains all the values that refers to my query not my filters
how can i achieve that
i tried facet_query but it returns some wrong product (does not contains exact subcategory)
j
We solved this by making two parallel requests, one with the filters and one without. Then we use the first request to populate the search results, and the second request to populate the filters.
k
Yes this is the way to do it.
j
(You can use the
multisearch
endpoint to do this with one trip to the server)
a
Thank you