Latest stable version
We recommend that you use the latest stable version OpenSearch SDK for Java V4.0.0 (2021-09-13).
<dependency>
<groupId>com.aliyun.opensearch</groupId>
<artifactId>aliyun-sdk-opensearch</artifactId>
<version>4.0.0</version>
</dependency>
Version history
OpenSearch SDK for Java V3.2.0 (2018-06-07)
<dependency> <groupId>com.aliyun.opensearch</groupId> <artifactId>aliyun-sdk-opensearch</artifactId> <version>3.2.0</version> </dependency>
OpenSearch SDK for Java V3.1.3 (2017-04)
<dependency> <groupId>com.aliyun.opensearch</groupId> <artifactId>aliyun-sdk-opensearch</artifactId> <version>3.1.3</version> </dependency>
Note
Note: If you want to use OpenSearch SDK for Java to access standard applications, the version of the SDK must be V3.1.x or later. If you use OpenSearch SDK for Java V2.1.x to access standard applications, errors occur. OpenSearch SDK for Java V3.1.x supports standard and advanced applications. The V2.1.x and V3.1.x versions of OpenSearch SDK for Java are considerably different and their code is incompatible with each other.
For more information, see Release notes.