Hi, We have an unexpected (empty) value in a filte...
# community-help
j
Hi, We have an unexpected (empty) value in a filter. The filter shows 4 options with their respective label, but there is one value without a label and a count of 28 results. But if you filter by this empty filter value, then we don’t get any hits. How is this possible?
k
I think that value is a non-space unicode character. So there is a byte there but just not visible. Since the value is indexed by Typesense as a facet, it's showing up, but during actual text search we skip such special characters unless explicitly added in the
symbols_to_index
configuration, so you can't actually filter/search on the value.
j
How do we get rid of this facet/value in the filter?
I can’t see where it’s coming from
k
Go through the
source_abbreviation
field in your source data and check for bad values.
Or you can try doing this query:
Copy code
"filter_by": "source_abbreviation:!= [WP29, EDPB, CIEU, GDPR]"
Hopefully that will fetch affected docs.
j
Thanks I will try checking for bad values first