OpenSearch
Updated at:
Configures an Open Search data source in DataWorks. The opensearch data source type supports Instance mode, which connects to an Open Search instance using instance credentials and an AccessKey pair.
Prerequisites
Before you configure the data source, make sure you have:
An Open Search instance (Vector Search Edition or Retrieval Engine Edition)
The instance ID, region, username, and password for the instance
An AccessKey pair with permission to access the instance
Instance mode parameters
| Parameter | Type | Required | Example | Description |
|---|---|---|---|---|
ConnectionPropertiesMode | String | Yes | InstanceMode | The configuration mode. Set to InstanceMode. |
instanceType | String | Yes | vectorSearchVersion | The Open Search engine edition. Valid values: vectorSearchVersion (Vector Search Edition), recallEnginVersion (Retrieval Engine Edition). |
regionId | String | Yes | cn-shanghai | The region where the Open Search instance resides. |
instanceId | String | Yes | ha-cn-kve**** | The ID of the Open Search instance. |
username | String | Yes | xxxxx | The username used to write data when the task runs. |
password | String | Yes | **** | The password for the username. |
Note
Both editions require a username and password, and an AccessKey pair. The username and password authenticate data write operations when the task runs. The AccessKey pair is used by a plug-in to retrieve table schemas in the codeless user interface (UI).
Configuration example
{
"envType": "Prod",
"regionId": "cn-beijing",
"instanceType": "vectorSearchVersion",
"instanceId": "ha-xxxx",
"username": "admin",
"password": "xxxx"
}Is this page helpful?