# Java client compatibility

**URL:** https://forum.opensearch.org/t/java-client-compatibility/15917
**Category:** OpenSearch Client Libraries
**Tags:** opensearch-java
**Created:** [September 18, 2023, 10:37pm UTC](https://forum.opensearch.org/t/java-client-compatibility/15917 "2023-09-18T22:37:50Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![ankp](https://avatars.discourse-cdn.com/v4/letter/a/45deac/32.png) [@ankp](https://forum.opensearch.org/u/ankp)
#### Post date: [September 18, 2023, 10:37pm UTC](https://forum.opensearch.org/t/java-client-compatibility/15917/1 "2023-09-18T22:37:50Z")

</div>

What version of opensearch-java client is compatible with OpenSearch 2.8 cluster?

Accoding to [https://github.com/opensearch-project/opensearch-java/blob/main/COMPATIBILITY.md](https://github.com/opensearch-project/opensearch-java/blob/main/COMPATIBILITY.md) opensearch-java client 2.6 is compatible with OpenSearch cluster 1.3.9-2.7.0

---

<div class="post-metadata">

### Author: ![wbeckler](https://avatars.discourse-cdn.com/v4/letter/w/9d8465/32.png) [@wbeckler](https://forum.opensearch.org/u/wbeckler)
#### Post date: [September 20, 2023, 8:04pm UTC](https://forum.opensearch.org/t/java-client-compatibility/15917/2 "2023-09-20T20:04:27Z")

</div>

opensearch-java 2.6 is compatible with OpenSearch 2.8+. I’ll raise an issue in the java repo to get this fixed.

---

<div class="post-metadata">

### Author: ![wbeckler](https://avatars.discourse-cdn.com/v4/letter/w/9d8465/32.png) [@wbeckler](https://forum.opensearch.org/u/wbeckler)
#### Post date: [September 20, 2023, 8:08pm UTC](https://forum.opensearch.org/t/java-client-compatibility/15917/3 "2023-09-20T20:08:12Z")

</div>

> <https://github.com/opensearch-project/opensearch-java/issues/629>
>
> \### What is the bug?
> Coming from https://forum.opensearch.org/t/java-client-com…patibility/15917.
> 
> https://github.com/opensearch-project/opensearch-java/blob/main/COMPATIBILITY.md shows compatibility of the latest client up to core v2.6, whereas OpenSearch is on the verge of releasing 2.10.
> 
> Can the compatibility.md get updated?
> 
> Maybe a script is needed to create an issue when the server bumps, or a script that checks the api specification to see if there are uncovered versions in compatibility.md?

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex019/uploads/mauve_hedgehog/original/2X/3/33547ea01a5b12dcca2958411d3edd97ae2ea8c1.png) [@system](https://forum.opensearch.org/u/system)
#### Post date: [November 19, 2023, 8:08pm UTC](https://forum.opensearch.org/t/java-client-compatibility/15917/4 "2023-11-19T20:08:41Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
