"reason" : "body={"error":{"root_cause":"type":"illegal_argument_exception","reason":"No search type for [scan]"}],"type":"illegal_argument_exception","reason":"No search type for [scan]"},"status":400}"
Can someone please suggest if this migration is possible if yes, how can i achieve this.
Opensearch was based on Elasticsearch 7.10 but has diverged and is no longer compatible. I therefore do not think you can migrate using snapshots, but rather have to create a custom script to reindex your data. I would not expect remote reindexing to be able to connect to Opensearch (unless possibly if you override the version response it provides).
Could you please elaborate more on this, as what exactly this custom script would do . Also i have some indexes with ~40GB of data ,would this be a problem of re-indexing ?
The script I discussed would basically need to do what a remote reindexing does. If you can get Elasticsearch to connect directly and run reindexing that way it is easier.
Reindexing large data volumes is possible but might be problematic if there is a lack of resources and/or connection/bandwidth issues.
The recent Amazon OpenSearch Service versions do not use an Elasticsearch-compatible repository format, and are also incompatible with the Elasticsearch remote reindex feature.
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.