Equalizing Search Results for Words with Similar Stemming
TLDR Jayesh asked how to balance search results for words like "syringe" and "syringes". Jason suggested using Typesense's typo_tokens_threshold
. Jayesh confirmed the suggestion worked.
1
Sep 18, 2023 (1 week ago)
Jayesh
02:01 PMJason
02:22 PMSo if users search for "syringe" those exact matches will always show up higher than "syringes".
If a user searches for "syringes", if you set
typo_tokens_threshold=10000
, then you should see more matches for "syringe", if there are less than 10000 results with "syringes". But these typo corrected results, will still show up below the exact matches for "syringes"Jayesh
02:24 PMJayesh
02:27 PM1
Typesense
Indexed 2779 threads (79% resolved)
Similar Threads
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.
Discussing Typo Tolerance in TypeSense Search
Greg conveys a client's query about TypeSense's typo-tolerance search. Jason explains it covers most plurals unless more than 2 characters are changed. They agree that significantly exceeding a levenshtein distance of 2 slows the query and/or provides inaccurate results.
Fine-Tuning Typesense Queries for Better Results with Plural Words
Sergio seeks advice on improving Typesense queries for plural words. Kishore Nallan suggests increasing the typo tokens threshold and adjusting the min_len_1typo and min_len_2typo params. Sergio confirms better results after making these changes.