Upgrade Elasticsearch client to 8.0.0
See original GitHub issueNote: This is not actionable at the moment but acts as a reference of things to consider when upgrading the Elasticsearch client to 8.0.0.
Looking at the Elasticsearch client roadmap a few items stand out but specifically https://github.com/elastic/elasticsearch-py/issues/1680 will be tricky: The client will not allow to pass a body
but rather requires to specify the body in a more structured manner. Initially using body
will only be deprecated but we need to think about alternatives.
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Migrating to 8.0 | Elasticsearch Guide [8.5] | Elastic
At startup, Elasticsearch will automatically migrate the data path to the new layout. This automatic migration will not proceed if the data path...
Read more >Upgrading Elastic Stack from 6.8 to 7.x - Wazuh documentation
This section guides through the upgrade process of Elastic Stack components, including Elasticsearch, Filebeat, and Kibana for the Elastic distribution.
Read more >Upgrading Amazon OpenSearch Service domains
OpenSearch and Elasticsearch version upgrades differ from service software ... Check that your client code creates only a single mapping type per index....
Read more >Python Elasticsearch Client - Read the Docs
Official low-level client for Elasticsearch. Its goal is to provide common ground for all Elasticsearch-related code in Python; because of this it tries...
Read more >How to upgrade a running Elasticsearch older instance to a ...
Basically the approach is to start a new cluster (with the latest ElasticSearch version you want), keep your data synced by changing your...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hmm, those options are interesting, thanks. My preference here is to merge code to master that gets used immediately, like the rally and rally-tracks PRs we merged yesterday, they were validated in our nightly benchmarks.
And yes, this means at some point we’ll have a bigger PR that makes the switch, but that’s OK. (And I’m now more familiar with the problem so reviewing will be easier.)
So basically I would suggest the following PRs:
I think it’s fine to continue using
body
as it will be supported in 8.0, and possibly later. If it gets removed at some point, we can always start using**body
for the cases where we pass a body around before submitting to the client.