#community-help

Max num_typos in Typesense and its Impact

TLDR Gilbert questioned the limit of num_typos in Typesense, and whether exceeding two impacts performance. Jason clarified the limitation is for performance and reducing user confusion.

Powered by Struct AI
4
13mo
Solved
Join the chat
Nov 08, 2022 (13 months ago)
Gilbert
Photo of md5-0967abb5e5ad5a92810d6fd30ae1b7f7
Gilbert
04:54 PM
is there explanation why is the max num_typos if the typesense is 2? if we increase it, it’ll give any impact or set to the default value?
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
06:02 PM
For both performance reasons, and also to reduce user confusion. We’ve seen that anything over 2 typo corrections per word ends up causing confusion as to why a particular search result was returned when its seemingly completely off…
Nov 09, 2022 (13 months ago)
Gilbert
Photo of md5-0967abb5e5ad5a92810d6fd30ae1b7f7
Gilbert
03:30 AM
but, is typesense still support if we increase the num_typos more than 2?
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
03:31 AM
No Typesense does not support increasing num_typos to more than 2