#community-help

Implementing Fuzzy Search and Typo Parameters in Queries

TLDR Phillip asked about implementing fuzzy search and typo parameters in query terms, including those excluded. Jason confirmed and suggested a solution.

Powered by Struct AI

1

3
16mo
Solved
Join the chat
Jun 15, 2022 (16 months ago)
Phillip
Photo of md5-3d8346de287401da0aaa8b11cddb1db7
Phillip
03:39 PM
Am I correct in thinking the way to implement fuzzy search is with the typo params? And if so do the typo params apply to excluded query terms? AKA those with a - in front of them?
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
05:12 PM
> Am I correct in thinking the way to implement fuzzy search is with the typo params?
That's correct.

> And if so do the typo params apply to excluded query terms? AKA those with a - in front of them?
That's correct. If you don't want typo correction to kick in, you can surround the term with "quotes" in the latest version of Typesense v0.23.0
Phillip
Photo of md5-3d8346de287401da0aaa8b11cddb1db7
Phillip
08:13 PM
thanks Jason!!

1