Creating New index from filtering existing index


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.


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:

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