本文主要介绍如何安装Java语言的开发环境和SDK开发包。
开通服务
配置参数
bearer token:替换为您的API-Key,如OS-*****。
endpoint:替换为访问域名,需要去掉http://。例如:****.opensearch.aliyuncs.com。
SDK依赖
<dependency>
<groupId>com.aliyun</groupId>
<artifactId>searchplat20240529</artifactId>
<version>2.2.0</version>
</dependency>该文章对您有帮助吗?