Creating New index from filtering existing index

HelloTeam,

I have a index with large volume fo data.I want to create new subset index by doing some filtering (for example Merchant number="something").How can I do this in elasticsearch.
Please suggest.

Thanks
Sarvendra

You can use the reindex API for this.

@dadoonet Please share an example..Thanks a lot..

There is an example in the documentation. I guess you did not find it so here it is: https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-reindex.html#docs-reindex-select-query

1 Like

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