How to create new index from old index fields

i'm trying to create new index with data from the existing index , could you suggest me the best approach to do that.

EXISTING SAMPLE INDEX STRUCTURE (INDEX-1):
{
"name": "arun",
"my_list: [ "john", "peter", "julie"]
}

RESULT NEW INDEX STRUCTURE (INDEX-2):
{
"name": "john",
"my_list: [ "john", "peter", "julie"]
}
{
"name": "peter",
"my_list: [ "john", "peter", "julie"]
}
{
"name": "julie",
"my_list: [ "john", "peter", "julie"]
}

basically i want all of the my_list in INDEX1 needs to be individual document in INDEX2.

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