Query on Typesense Support for Specific Syntax

TLDR Hafiz enquired if typesense supports exact match multiple words with OR condition. Kishore Nallan clarified that specific syntax is not supported.

Powered by Struct AI
Join the chat
Jan 17, 2023 (9 months ago)
Photo of md5-cc74add1874277a1b2bbeac0afcacb12
07:49 AM
Hi All,
Just want to know if typesense support exact match multiple words with space and exclude some words, like:
'type sense' OR 'user name' -online
the above statement means a string contains type sense or user name but not online
is it possible in typesense?
Kishore Nallan
Photo of md5-4e872368b2b2668460205b409e95c2ea
Kishore Nallan
10:09 AM
Exact phrase match is support by wrapping the search query in double quotes. You can exclude tokens by prefixing with "-" but we don't have a way to do that OR syntax above.