Querying Typesense API with Boolean Operators
TLDR JOCSELINE asked about boolean operators in Typesense API's search feature. Jason clarified that Typesense doesn't support boolean operators in the 'q' parameter and suggested a solution. JOCSELINE confirmed the solution worked.
1
Sep 25, 2023 (2 months ago)
JOCSELINE
09:50 PMPD:
This is the issue I was referring to: https://github.com/typesense/typesense/issues/172
Thanks a lot in advanced.
Jason
09:52 PMq
parameter. Only the filter_by
parameter supports boolean operators.But for doing the equivalent of
"USA" & "Technology" & "Jocselyn"
, you want to set:typo_tokens_threshold=0
drop_tokens_threshold=0
prefix=false
Jason
09:53 PMJOCSELINE
10:01 PM1
Jason
10:36 PMTypesense
Indexed 3011 threads (79% resolved)
Similar Threads
Discussing Complicated Queries with Typesense Q Param
Jainil asked about complex queries in Typesense 'q' parameter. Jason clarified it doesn't support boolean operators and referred to an open feature request.
Phrase Search Relevancy and Weights Fix
Jan reported an issue with phrase search relevancy using Typesense Instantsearch Adapter. The problem occurred when searching phrases with double quotes. The team identified the issue to be related to weights and implemented a fix, improving the search results.
Resolving Typesense Search Issues
Conversation started by Maximilian about Typesense search behavior led to Users Kishore Nallan and Mike discussing and suggesting workaround, with Kishore Nallan promising an official solution soon. No final confirmation of resolution provided.