We have a product index, there are some attribute such as
I want it to be filtered always by region. so I use the
Configure react component, add pass in the
filters parameter as:
The wired thing is that I get different count every time I make a new request. Then I found the
distinct settting is
true and it was set to
sku. I tried two options: set
false; or set
objectID. Both of these two options fixed my issue.
Another approach I tried is to use the
Configure component, which works well even I keep
distinct to true and
So I have questions:
- why the
filtersbehaves diffierent with
facetFiltersfor the same attribute.
- why it returns different count everytime if I am using the
distinctfeature and with filter
region:AU, it might be a data issue, but for the same request, I think it should return the same result and count always.
I can’t share the index as it’s confidential. if it’s difficult to know the exact problem, any direction for investigation is also appriciated.