Hi , I have a field in collection and it contains ...
# community-help
c
Hi , I have a field in collection and it contains values like "-" but when i try to pull that record with the filter fieldname:["-"] in filter_by i get zero records ,
k
Hyphens are not indexed by default. You have to add them to
symbols_to_index
in collection configuration if you wish to search or filter on it.
👍 1
c
After adding
symbols_to_index
Should i update typesense using patch method?
k
We don't support adding
symbols_to_index
via PATCH alter. You have to recreate the collection.
c
That means whole collection on typesense needs to be dropped and restored again ?
k
Yes