#community-help

Discussion on 'strict' search and typo-tolerance

TLDR A and James queried about 'strict' search and typo-tolerance settings. Kishore Nallan and Jason clarified that these features are configurable and an upcoming release will enhance this.

Powered by Struct AI

2

6
32mo
Solved
Join the chat
May 23, 2021 (32 months ago)
A
Photo of md5-98c72c3023867be0346b48ae4cb22001
A
09:36 AM
Any idea on when ‘strict’ search options are coming?
Kishore Nallan
Photo of md5-4e872368b2b2668460205b409e95c2ea
Kishore Nallan
10:22 AM
Can you please clarify what you mean by strict search? Do you mean exact search, e.g. "red shoe" matching documents containing that phrase exactly?
James
Photo of md5-73a13a5101abfa5eb1a267e7a51e2459
James
11:30 AM
Can typo-tolerance be turned off?
Kishore Nallan
Photo of md5-4e872368b2b2668460205b409e95c2ea
Kishore Nallan
12:05 PM
Yes set num_typos to 0

2

Davide
Photo of md5-5a7e6fd9a070eac5034a6034f0dc38b1
Davide
11:58 PM
I was wondering the same, thanks!
May 24, 2021 (32 months ago)
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
04:35 PM
We're hoping to ship this in the coming release. In the meantime, one thing you might find helpful is the ability to turn off typo tolerance on a per field basis: https://github.com/typesense/typesense/issues/262#issuecomment-844631342