Use the OpenSearch SDK for Java to integrate OpenSearch Industry Algorithm Edition into your Java applications. Add the SDK as a Maven dependency to get started.
Latest stable version
OpenSearch SDK for Java V4.0.0 (2021-09-13)
Add the following dependency to your pom.xml:
<dependency>
<groupId>com.aliyun.opensearch</groupId>
<artifactId>aliyun-sdk-opensearch</artifactId>
<version>4.0.0</version>
</dependency>Version history
V3.2.0 (2018-06-07)
<dependency>
<groupId>com.aliyun.opensearch</groupId>
<artifactId>aliyun-sdk-opensearch</artifactId>
<version>3.2.0</version>
</dependency>V3.1.3 (2017-04)
<dependency>
<groupId>com.aliyun.opensearch</groupId>
<artifactId>aliyun-sdk-opensearch</artifactId>
<version>3.1.3</version>
</dependency>Compatibility
Important
V2.1.x and V3.1.x are incompatible — their code cannot be used interchangeably. To access standard applications, use V3.1.x or later. Using V2.1.x to access standard applications causes errors.
V3.1.x supports both standard and advanced applications.
What's next
该文章对您有帮助吗?