Put the result from one index to other

I have the aggregated results in one index..
Eg: "Data1": {"buckets": ["x1", "x2"]}
and I want to put it in another index. How do I iterate over the data an put it in another index through Node.js?

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