Use case example:
I have a rule defined such as below in which I want to define when search is "card", I want to hide "Amazon" and "Apple" and "Acer" by attribute "vendor".
However, after testing the query, I can still find the hidden vendors appearing in the results set.
Explanation:
Note that “Hide by Attribute” is the same as the “Filter results” consequence and subsequently apply “is not” condition automatically in the JSON. This information is available in the JSON response next to the "query alternatives" toggle in the index configuration dashboard.
That being said the "And" condition evaluates to "true" only if all conditions are met. However, with “Or” it only has to be at least one of the three at a time.
Solution:
To fix this problem, the condition "And" needs to be change to "or" like below and the results should now hide the specified vendor correctly.