Download Hub

更新时间:
复制 MD 格式

Use the following SDKs and tools to integrate OpenSearch Industry Algorithm Edition into your application.

Quick reference

LanguageInstallDocsSource
JavaMaven (see below)
PHPSee PHP SDK downloads
Gogo get github.com/aliyun/alibaba-cloud-sdk-go/tree/master/services/opensearch
Python (data)pip install aliyun-python-sdk-opensearch
Python (management)PyPIGitHub

Java SDK

OpenSearch SDK for Java covers data processing and searching. For application management operations, use the management SDKs instead.

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>

PHP SDK

OpenSearch SDK for PHP covers application management, data processing, and searching. For download instructions and source code, see PHP SDK downloads.

Go

Run the following command to install the Go SDK:

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

Python SDKs

Two Python packages are available. Choose based on your use case:

PackagePurpose
aliyun-python-sdk-opensearch (pip)Data processing and searching
OpenSearch management SDK for PythonApplication lifecycle management

Python SDK for data processing and searching

pip install aliyun-python-sdk-opensearch

OpenSearch management SDK for Python

The management SDK handles application-level operations such as creating and managing OpenSearch applications.

SortScript

SortScript is a command-line tool for managing Cava-based sort scripts. It requires a Python version later than 2.7 and supports the full script lifecycle: create, maintain, publish, and delete.

Download SortScript

For usage instructions, see Create sort scripts by using SortScript.