Adjusting Typo Tolerance in Search Results
TLDR 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.
2
1
Sep 22, 2021 (26 months ago)
Sean
06:57 PMJason
07:09 PMYou can reduce its sensitivity using one or more of these search params:
typo_tokens_threshold
, num_typos
, drop_tokens_threshold
Sean
09:51 PMSep 23, 2021 (26 months ago)
Kishore Nallan
12:32 AM2
Sep 27, 2021 (26 months ago)
Arthur
02:32 PMArthur
02:33 PMKishore Nallan
02:34 PM1
Typesense
Indexed 2779 threads (79% resolved)
Similar Threads
Issues and Workarounds for Typesense's Typo Tolerance Feature
John found unexpected results with Typesense's typo tolerance feature. Jason explained it is the feature's design and suggested a workaround that could potentially yield more results than desired.
Resolving Typo Tolerance in Search Functionality
GM asked how to refine a search query. Jason advised on how to control typo tolerance parameters. GM confirmed the solution worked.
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.