Is there a way to force exact match on certain sea...
# community-help
j
Is there a way to force exact match on certain search terms? Ex: Searching for "America" will return results for "American" due to typo tolerance. Is there any way to do this with typesense? Or am I going to have to capture and modify the user input to add quotes before sending to typesense?
j
American
is returned for
q: America
because of prefix search. If you set
prefix: false
then it won't return that
Can't disable this on specific keywords on the Typesense side at the moment. So you'll have to do this on the client side
j
Gotcha thanks, ya we want prefix search for all other search types. This was just one specific scenario we wanted to catch. Client side it is!