Join Slack
Powered by
This message was deleted.
# community-help
s
Slackbot
10/12/2023, 8:19 AM
This message was deleted.
h
Harpreet Sangar
10/12/2023, 2:21 PM
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
Jason Bosco
10/12/2023, 3:48 PM
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
6
Views
Open in Slack
Previous
Next