DSL Query - Compare columns of different Index

Hi,
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!

Regards

Same question as you already asked at

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