Dear All .
I have 8-fields in index and we want to search all fields but condition here is :
some time we want to search only 3,4 fields only but result should be come based on accurate match fields : value .
but painless query should cover all 8-fields for searching purpose .
It's unclear from your brief description what you are trying to accomplish. Could you please elaborate with a little more detail? Why do you need painless instead of existing queries to add restrictions based on your 8 fields?
As explained in this thread I believe you need to write some code in your application to handle this. I do not think using painless is the right way to go.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.