question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Upgrade Elasticsearch client to 8.0.0

See original GitHub issue

Note: 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:open
  • Created 2 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
pquentincommented, Jun 9, 2022

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:

1reaction
pquentincommented, Oct 4, 2021

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found