Another question: Will the mapping with _doc type work on any Elasticsearch 8 version? If it would work it would allow us to use new mapping for ES 8 and wait until old indices with _doc TTLout.
Typeless document APIs such as bulk and update are only available as of 7.0, and will not work with 6.8 nodes. This also holds true for the typeless versions of queries that perform document lookups, such as terms .
We are working on OSS project Jaeger which uses Elasticsearch as backend storage. Our goal is to provide wide compatibility with Elasticsearch versions.
The wire compatibility defines the minimal version this node can communicate with. The index compatibility defines the minimal version this node can read data from. In this case this node (ES7) can read indices created by 6.x and can be deployed in a mixed cluster with ES 6.8 nodes.
ES6 can read and write to indices created by ES5 and ES7 can write and read from indices created by ES6. Therefore users can upgrade from ES6 to ES7 without any migration/reindex. If they are using ES5 and want to upgrade to ES7 they have to go through ES6 and wait until old indices TTLout or explicitly reindex.
In our case we want to provide compatibility with ES 5,6,7 so we have to use different mappings for different versions, however users can upgrade ES version without any additional work as described above.
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.