Setting Rules for Non-Returning Words with Typo Tolerance
TLDR Nathan queries how to ensure certain typo-tolerant words don't appear in results. Jason suggests setting up one rule per word.
1
1
Aug 29, 2023 (3 months ago)
Nathan
09:22 PMnasty
, I don't want to return items that are actually tasty
. But a typo like aasty
would ideally find our tasty
documents.Jason
09:24 PMYou could use an override rule to match these words, and then apply a filter that won't match any records
1
Nathan
09:59 PMJason
10:14 PM1
Typesense
Indexed 3015 threads (79% resolved)
Similar Threads
Adjusting Typo Tolerance in Search Results
Sean asked how to reduce irrelevant search results. Jason explained how to adjust the typo tolerance feature. Kishore Nallan elaborated on upcoming changes, to which Arthur requested further tunability. Kishore Nallan confirmed such configuration will be available.
Understanding Typo Tolerance in Search Queries
gab sought clarity on typo tolerance settings in search operations, specifically on the discrepancy in document returns when typos are involved. Kishore Nallan explained the "num_typos" and "typo_tokens_threshold" parameters within search queries, and how they dictate typo allowance during searches.
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.