I have the below command to reindex an ES 5 index into an ES 6 index. I am going to take each type of document within an index and change its type to "_type".
I have added an explicit "type" field within the new index template, and was wondering if its possible to put the old type value into the explicit type field within my new index?
Is it possible to do so by adding something into the below code?
The two general options are reindex to a separate index per pre-existing type or to migrate to using a custom type field to differentiate the type using that field.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.