Query Order Impact on Number of Results
TLDR Maciej noticed a change in results when swapping query order. Kishore Nallan explained typesense drops tokens until results are found and achieving a "give me documents having any tokens" behavior isn't possible.
May 08, 2023 (7 months ago)
q=cycling running enduro cyclocross road&query_by=categories. In addition I am sending
prefix=false. Categories is an array of strings. It would make sense to me that order within query does not matter but if I swap
runningI will get different number of results. What am I missing here?
Kishore Nallan11:45 AM
Kishore Nallan11:48 AM
give me documents having any of the tokensbehaviour?
Kishore Nallan12:39 PM
Indexed 3015 threads (79% resolved)
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.
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.