Link Search Menu Expand Document Documentation Menu

Clients icon OpenSearch language clients

OpenSearch clients let you work with OpenSearch from your application code. A client connects to your cluster, sends requests, and returns the responses as objects in your programming language, so you can create indexes, add documents, and search without building HTTP requests and parsing JSON yourself.

OpenSearch clients

OpenSearch provides clients for the following programming languages and platforms:

Deprecated clients

The following clients have been deprecated:

Legacy clients

Clients that work with Elasticsearch OSS 7.10.2 should work with OpenSearch 1.x. The latest versions of those clients, however, might include license or version checks that artificially break compatibility. The following table provides recommendations for which client versions to use for best compatibility with OpenSearch 1.x. For OpenSearch 2.0 and later, no Elasticsearch clients are fully compatible with OpenSearch.

While OpenSearch and Elasticsearch share several core features, mixing and matching the client and server has a high risk of errors and unexpected results. As OpenSearch and Elasticsearch continue to diverge, such risks may increase. Although your Elasticsearch client may continue working with your OpenSearch cluster, using OpenSearch clients for OpenSearch clusters is recommended.

To view the compatibility matrix for a specific client, see the COMPATIBILITY.md file in the client’s repository.

If you test a legacy client and verify that it works, submit a PR and add it to this table.

350 characters left

Have a question? .

Want to contribute? or .