This article demonstrates how to migrate from Elasticsearch to OpenSearch via a rolling restart.
This article describes how to use the Reindexing API to migrate data from an Elasticsearch to an OpenSearch cluster.