Elasticsearch to Opensearch migration #2561
Junjiequan
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Investigation Summary Elasticsearch to Opensearch ( 1 day time boxed )
Based on the investigation:
No elasticsearch specific or only features are used. Only minor API differences are expected due to the client library change.
The current indexing strategy is basic and compatible with opensearch
Existing queries (partial search, filtering, aggregations, sorting) are supported by opensearch
A full re-index and data re-synchronization will be required, as we are migrating from Elasticsearch 8.8.1 to Opensearch 3.5.0 (latest) and index formats are not guaranteed to be compatible.
Next steps:
Replace the Elasticsearch client with the Opensearch client
Replace the Elasticsearch docker image with Opensearch for local development and CI.
BE:
FE:
Update Elasticsearch service code to accomodate Opensearch API and type differences.
Update Elasticsearch tests accordingly
All the change should remain in the feature branch untill the migration is fully validated
Nice to have:
Beta Was this translation helpful? Give feedback.
All reactions