All Products
Search
Document Center

OpenSearch:Download Hub

Last Updated:Apr 01, 2026

OpenSearch provides SDKs for Java, PHP, Go, and Python to integrate data processing and search features into your applications. A separate management SDK and a command-line tool for Cava-based plug-ins are also available.

SDK overview

LanguageInstallDocsSource
JavaMaven dependency (see below)
PHPDownloads
Gogo get github.com/aliyun/alibaba-cloud-sdk-go/tree/master/services/opensearch
Python (search)pip install aliyun-python-sdk-opensearch
Python (management)PyPIGitHub

OpenSearch SDK for Java

OpenSearch SDK for Java encapsulates the API operations for data processing and searching. For other features, use the management SDKs.

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>

OpenSearch SDK for PHP

OpenSearch SDK for PHP encapsulates the API operations for application management, data processing, and searching. For download instructions, see Downloads.

Go

go get github.com/aliyun/alibaba-cloud-sdk-go/tree/master/services/opensearch

Python

pip install aliyun-python-sdk-opensearch

OpenSearch management SDK for Python

Command-line tool for Cava-based plug-ins

SortScript is a Python-based command-line tool (requires Python later than 2.7) for creating, maintaining, publishing, and deleting sort scripts.