Achieving Desired Query Results in Typesense
TLDR 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.
Sep 21, 2022 (15 months ago)
where the value for “Enough” results is controlled by the
drop_tokens_thresholdparameter. This is documented in the last row of this table: https://typesense.org/docs/0.23.1/api/search.html#typo-tolerance-parameters
drop_tokens_thresholdto a very high value (higher than the total number of records in your dataset), you’ll get the behavior you’re looking for.
Indexed 3011 threads (79% resolved)
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.
Understanding Typesense Query Fuzziness and Thresholds
Ashraful was confused about different query results when applying filters in Typesense. Jason clarified the function of `drop_tokens_threshold` and `typo_tokens_threshold` options, explaining their effect on search results and their precedence.