Update `Elastic.Clients.Elasticsearch` to v9
Is your feature request related to a problem?
The new, v9 version of Elastic.Clients.Elasticsearch that we use for Elasticsearch was released and we should update to it. This is not simple, the automated update by Renovate failed due to breaking changes. I briefly looked into this, and while a couple of fixes are straightforward, most of them aren't, nor are they documented in the official docs.
Describe the solution you'd like
- Open a branch from https://github.com/OrchardCMS/OrchardCore/pull/17827 and merge https://github.com/OrchardCMS/OrchardCore/pull/17828. We shouldn't close these PRs because then Renovate would stop updating these packages.
- Fix the incompatibilities.
Describe alternatives you've considered
I'm afraid there's no real alternative of updating. We can wait a bit more, though, so there might be some more docs on how to fix the breaking changes.
We triaged this issue and set the milestone according to the priority we think is appropriate (see the docs on how we triage and prioritize issues).
This indicates when the core team may start working on it. However, if you'd like to contribute, we'd warmly welcome you to do that anytime. See our guide on contributions here.
The upgrade was reverted in https://github.com/OrchardCMS/OrchardCore/pull/17949, so reopening this now. See details there.