Install the Elasticsearch 9.x search client packages, then apply the same configuration steps as on Search setup for OpenSearch 1.x, using the elasticsearch9 property namespace.
In order to use an Elasticsearch 9.x cluster, you need to install the nuxeo-search-client-elasticsearch9 and nuxeo-audit-elasticsearch9 packages.
Note that it's not possible to run an Elasticsearch 9 server in the same JVM as Nuxeo Platform.
For cluster sizing and operations, see Search setup for OpenSearch 1.x and Elasticsearch 7.x–8.x where concepts align (your cluster runs Elasticsearch 9 instead). Then use the same configuration workflow as on Search setup, starting with Configuring Nuxeo to Access the Search Cluster and the following sections there (reindex, mappings, multi-repository, troubleshooting). In every nuxeo.conf property name, replace the opensearch1 segment with the client key for your search stack (see the example below).
For instance, you will have to use:
nuxeo.elasticsearch9.client.server=http://somenode:9200,https://anothernode:443
nuxeo.elasticsearch9.client.username=your_username
...
nuxeo.search.client.default.elasticsearch9.index.name=nuxeo
...
See also
- Search setup for OpenSearch 1.x and Elasticsearch 7.x–8.x — related cluster guidance.
- Search setup — shared sections (configuring access, reindex, mappings, multi-repository, troubleshooting) illustrated with
opensearch1; useelasticsearch9in property names when following those steps with this client. - Nuxeo Search Client Elasticsearch — Marketplace packages overview.