How to compare 2 value from 2 indexes

Hi all,

I have a problem with Elasticsearch.

I want to show all info from 2 documents if:
Indexes1.ip_dst = Indexes2.ip_dst

Any way to fast? Any avaiable plugin?

Thanks.

If i use php but very slow when i compare 10k documents.