Jack Wilsdon
10/17/2023, 4:37 PM@
), I seem to get all results back when I'd actually expect no results (none of my documents contain an @
). Is there an option to disable this behaviour? We depend on there being some highlight information in the results, but when searching for special characters we don't get any highlight data back (as the result doesn't actually match the query).Jason Bosco
10/17/2023, 4:38 PMq=@
will actually translate to q=*
by default.
You want to add @
to the symbols_to_index
setting when creating the collection, to change this behaviorJack Wilsdon
10/17/2023, 4:40 PM@
to symbols_to_index
as none of my results have @
in them (and I'd have to do it for every other special character too!) - ideally if a query consists entirely of non-indexed symbols then it should return nothing, but I understand treating it as *
. I'll implement something on our client-side to not send a query if it only consists of special characters.Jack Wilsdon
10/17/2023, 4:42 PMJack Wilsdon
10/17/2023, 4:43 PM