👋 Hi everyone!, I've run into an issue, I'm trying to filter by something like this, "a and ((b and c) or d)", could someone tell me how exactly to construct the filter query
k
Kishore Nallan
03/16/2021, 3:53 PM
@J Typesense does not support such complex filtering syntax yet. To achieve this, you might have to encode the condition as a generated boolean field when you index the document and then just filter on this generated field.
j
J
03/16/2021, 4:47 PM
Thanks, Is there any plan to add it in future?
k
Kishore Nallan
03/17/2021, 9:27 AM
Yes, but not in the immediate roadmap. This will require creating a more advance filtering syntax with a proper parse tree and require running each record through the parse tree to evaluate the compound expression like the one you have provided.