This message was deleted.
# community-help
s
This message was deleted.
h
Here's the parsing logic for
filter_by
if it would be of any help to you https://github.com/typesense/typesense/blob/v0.26-facets/src/filter.cpp#L727
j
One slightly hacky way to do this would be to first do one search for each field separately, to see if the query returns any documents, and only include that field in the filter if it does