Should synonyms work when you use double quotes? T...
# community-help
r
Should synonyms work when you use double quotes? They're not working for me so I wanted to double-check here. E.g. I have a multi-way synonym for "Sre" and 'site reliability engineer' but when I search for
"Sre"
I don't get back results that have "site reliability engineer". If this isn't supported, is there a recommended alternative to achieve what I want?
And a related followup, should synonyms work with filtering?
k
We don't support double quotes in synonyms
Not sure what you mean by working with filtering. Synonym word replaces original query and everything else remains the same. Query should work..
r
Gotcha. By filtering I meant if I do something like
Copy code
filter_by: "title:=abc"
and I have a multi-way synonym for "abc <> xyz" then will that filter_by above also return documents where
title=xyz
?
k
Ah got it. No, synonyms are not considered for filtering.
1
r
I created a PR to clarify this limitation since I couldn't find it mentioned anywhere https://github.com/typesense/typesense-website/pull/315/files Let me know if there's a better place to add it