Using results of one query in another over multiple indices

I want to send a query to my 1st index and then use the results of this query over the the 2nd index. I looked into pipeline aggregations but it works only on a single index. So is there any way i could achieve this?

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