Hi,
I know that I have to reindex indices created on Elasticsearch v5.6 but I would like to understand if _reindex API will do it automatically or not. I mean, executing that API will convert source index data into the new correct format or should I also specify further parameters?
The reindex API "just" reads the _source
which was stored as a JSON document and send it to the bulk API to be reindexed there.
That means that you need to provide the proper mapping for the destination index. Elasticsearch reindex API does not "guess" what is expected depending on your use case. Nothing "smart" here. Just an API to read from a source JSON content and write to a destination this JSON content.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.