Here is my usecase :
I have an ES index (myindex)
In this index, I have one document type (myindex/mydoc)
I have defined a mapping for this type (myindex/mydoc/_mapping)
I put many documents in this index (with default options so JSon source id stored in _source).
I want now to modify my mapping and ask to ES to reindex all my documents, based on the _source.
Is there any way to do that ?
Do I have to create an ES river plugin to be able for example to reindex data in a new index based on the _source field of documents in the first index ?
Is it the purpose of the _refresh API ? I don't think so.
Thanks for your feedbacks/advices