Adjusting String Similarity Parameter for Accurate Result
TLDR The asked how to adjust string similarity parameter for accuracy. Kishore Nallan suggested to set num_typos
to 0, 1, or 2.
Powered by Struct AI
2
25mo
Solved
Aug 15, 2021 (25 months ago)
The
The
01:28 AMHi, how do I adjust the string similarity parameter so I will get more accurate result? I can do it on Algolia.
Kishore Nallan
Kishore Nallan
03:30 AM👋 You can set
num_typos
to 0,1,2. Default is 2. Make it 1
if you want to restrict fuzzy matches.Typesense
Lightning-fast, open source search engine for everyone | Knowledge Base powered by Struct.AI
Indexed 2764 threads (79% resolved)
Similar Threads
Implementing Exact Match Feature in Typesense
bnfd inquired about implementing exact matches. Carl explained using `num_typos` in a 0 query for exact matches. Kishore Nallan introduced the `prioritize_exact_match` option and confirmed the phrase match feature is on their roadmap.


8
24mo
Issue with Search String Not Matching the Searched Result
Ahmad was having problems with search accuracy due to typo tolerance feature. Jason advised using the num_typos search parameter to turn it off.
2
20mo
Solved
Discussion on `num_typos` String-Type in Libraries
Denis queried about `num_typos` string in libraries. Kishore Nallan clarified its usage for disabling certain fields.

3
16mo
Solved