hey all. I've got a collection with a `name` and `...
# community-help
a
hey all. I've got a collection with a
name
and
description
field, both text. when I run a query for "shot" I'm getting matches for "show" in some documents for the
description
field, but I'm not getting any hits from the
name
field for documents that contain "Screenshot" could anyone help me diagnose or tune that?
a
@Andrew Powell, For searching documents where the query is a substring of the word, you'll want to enable the infix parameter. You can read more about it here, on the infix line: https://typesense.org/docs/29.0/api/search.html#query-parameters
a
thanks
hm I tried infix=always and it eliminated the fuzzy search results and didn't show any results
ah OK it's got to be enabled per field. got it
a
You can also set as fallback, then it will only trigger if no "normal" results are found