You will need to write code that looks at which parameters that have been submitted by the user and based on this created the query DSL with a clause for each provided input. I would not create a template for every possible permutation. I am not sure how I can explain it any clearer than that.
If this is still not clear I give up.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.