Allow users to exclude words with dash e.g. "shoes -sandals"

Is there any way to configure Algolia to support negative search terms so that users can exclude results with specific words by adding a dash before the word?

For example if a user wanted to see results for shoes but exclude any results with sandals (assuming there’s no other filter for this functionality) they could enter “shoes -sandals”.

Hi @AlexM, I believe you are looking for advancedSyntax.

1 Like

That is exactly what I was looking for, thanks Cindy!