Using Typesense to Retrieve Multiple Keyword Matches
TLDR Ravi expressed confusion over Typesense not returning all results for multi-keyword queries. Kishore Nallan explained that Typesense does
AND of all keywords and drops tokens from right to left until records are found if no exact match exists. Kishore Nallan clarified that disabling the drop_tokens_threshold could alter this behavior.
Apr 07, 2022 (21 months ago)
Kishore Nallan11:21 AM
Kishore Nallan11:21 AM
Kishore Nallan11:33 AM
ANDof all keywords in the query. If it cannot find any document containing all words in the query, like in this case, instead of doing a OR, it drops tokens from the query one by one until results are found.
Apr 08, 2022 (21 months ago)
Kishore Nallan02:50 AM
Indexed 3015 threads (79% resolved)
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.
Implementing OR Query in Typesense for Multiple-Word Search
Md.Riad was seeking assistance on implementing an OR query in Typesense for multiple word search. Jason clarified that Typesense already provides this feature by default and suggested to adjust the `drop_tokens_threshold` to obtain more varied results.
Issue with Query Expectations on Typesense Search
Sean was having an issue with their search query on Typesense. Kishore Nallan suggested adjusting the 'drop_tokens_threshold' parameter. After making the adjustment, Sean found an issue with the order of the results, which was resolved by updating Typesense version.
Issue with Search Term Results in Typesense
Dipankar had issues with specific search terms returning unexpected results. Kishore Nallan clarified why this may occur and how to fine-tune the behavior using the 'drop_tokens_threshold' parameter in Typesense.
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.