DSL Query - Compare columns of different Index

I need to compare the information of two columns stored in different index.

For example IndexA.Column = IndexB.Column

I try with the following sentence but is wrong:

"query": {
"match" : {
"account_name" : "user_name"

Can someone help me!


Same question as you already asked at

Don't open multiple threads about the same subject please.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.