Hi,
I'm writing a service that receive as a parameter an elastic query and need to add, automatically, without knowing the query, extra conditions. From what i sow, there are 2 options:
- post_filter - more simple, the query is a black box and i just add post_filter to it
- filter - more complex, i need to analyse the query and determine where to add the filter conditions
which solution has better performance?
thanks,
tal