Adjusting Sensitivity of Search Queries in Typesense
TLDR Sruli asked how to modify Typesense search query parameters. Kishore Nallan clarified and suggested changing the drop_tokens_threshold
to 0
.
1
Jan 06, 2023 (11 months ago)
Sruli
06:46 AMIf the I query for “There was a storm last night” and in Typesense the value is “There are many dangers when traveling by boat, such as stormy nights.”
This will return a hit because of storm/stormy being similar, is there a way to adjust what counts as a hit?
Kishore Nallan
06:47 AMKishore Nallan
06:49 AMdrop_tokens_threshold
to 0
Sruli
06:49 AM1
Sruli
06:49 AMKishore Nallan
06:53 AMSruli
07:07 AMTypesense
Indexed 3015 threads (79% resolved)
Similar Threads
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.
Achieving Desired Query Results in Typesense
Timothy asked how to include documents containing any query term in Typesense. Jason explained that by adjusting the `drop_tokens_threshold`, this behaviour can be achieved.