

本文属于机器翻译版本。若本译文内容与英语原文存在差异，则一律以英文原文为准。

# Amazon OpenSearch 服务中支持的操作
<a name="supported-operations"></a>

OpenSearch 该服务支持许多版本 OpenSearch 和传统的 Elasticsearch OSS。以下各节显示了 OpenSearch 服务为每个版本支持的操作。

**Topics**
+ [值得注意的 API 差异](#version_api_notes)

## 值得注意的 API 差异
<a name="version_api_notes"></a>

### 新名单 APIs
<a name="new-list-api"></a>

为了支持具有大量索引和分片的大型集群，我们引入了支持分页 APIs 的新 List，例如 \$1。list/indices and \$1list/shardsList API 以分页格式检索有关索引和分片的统计信息。这可简化处理包含多个索引的响应的任务。
+ `_list/indices`：[\$1list/indices](https://opensearch.org/docs/latest/api-reference/list/list-indices/)
+ `_list/shards`：[\$1list/shards](https://opensearch.org/docs/latest/api-reference/list/list-shards/)

### 对现有内容的更改 APIs
<a name="changes-existing-api"></a>

为支持大型集群，我们在 `_cluster/stats` API 中增加了对额外指标筛选器的支持，以支持仅检索相关的统计数据响应，例如 `_cluster/stats/<metric>/nodes/<node-filters>` 和 `_cluster/stats/<metric>/<index_metric>/nodes/<node-filters>`。有关详细信息，请参阅 [\$1cluster/stats](https://opensearch.org/docs/latest/api-reference/cluster-api/cluster-stats/)。

我们在 `_cat/shards` API 中添加了通过指定 `cancel_after_time_interval` 请求参数以取消任务的支持。有关详细信息，请参阅 [\$1cat/shards](https://opensearch.org/docs/latest/api-reference/cat/cat-shards/)。

 **限制 \$1cat API 的响应大小**

为支持跨数据和温节点的实例总数超过 200 的大型集群，我们已对 `_cat/segments API` 返回的索引数量设定 10K 的限制。如果响应中的索引数超过此限制，则 API 将返回 429 错误。为避免此情况，您可以在查询中指定索引模式筛选条件，例如 `_cat/segments/<index-pattern>`。

### 设置和统计数据
<a name="version_api_notes-cs"></a>

OpenSearch 服务仅接受使用 “flat” 设置表单的 `_cluster/settings` API 的 PUT 请求。它拒绝使用扩展设置表单的请求。

```
// Accepted
PUT _cluster/settings
{
  "persistent" : {
    "action.auto_create_index" : false
  }
}

// Rejected
PUT _cluster/settings
{
  "persistent": {
    "action": {
      "auto_create_index": false
    }
  }
}
```

高级 Java REST 客户端使用扩展表单，因此，如果您需要发送设置请求，请使用低级客户端。

在 Elasticsearch 5.3 之前， OpenSearch 服务域上`_cluster/settings`的 API 仅支持 HTTP `PUT` 方法，不支持该`GET`方法。 OpenSearch 以及更高版本的 Elasticsearch 都支持该`GET`方法，如以下示例所示：

```
GET https://domain-name.region.es.amazonaws.com/_cluster/settings?pretty
```

这是一个返回示例：

```
{
  "persistent": {
    "cluster": {
      "routing": {
        "allocation": {
          "cluster_concurrent_rebalance": "2",
          "node_concurrent_recoveries": "2",
          "disk": {
            "watermark": {
              "low": "1.35gb",
              "flood_stage": "0.45gb",
              "high": "0.9gb"
            }
          },
          "node_initial_primarirecoveries": "4"
        }
      }
    },
    "indices": {
      "recovery": {
        "max_bytper_sec": "40mb"
      }
    }
  }
}
```

如果您比较来自开源 OpenSearch 集群和 OpenSearch 服务的响应以获取某些设置和统计信息 APIs，您可能会注意到缺少字段。 OpenSearch 服务会编辑暴露服务内部信息的某些信息，例如来自的文件系统数据路径`_nodes/stats`或来自的操作系统名称和版本。`_nodes`

### 收缩
<a name="version_api_notes-shrink"></a>

`_shrink` API 可能导致升级、配置更改和域删除操作失败。建议不要在运行 Elasticsearch 版本 5.3 或 5.1 的域上使用它。这些版本上存在的错误可能会导致收缩索引的快照还原操作失败。

如果您在其他 Elasticsearch 或 OpenSearch版本上使用`_shrink`该 API，请在开始缩小操作之前提出以下请求：

```
PUT https://domain-name.region.es.amazonaws.com/source-index/_settings
{
  "settings": {
    "index.routing.allocation.require._name": "name-of-the-node-to-shrink-to",
    "index.blocks.read_only": true
  }
}
```

然后，在收缩操作完成后发出以下请求：

```
PUT https://domain-name.region.es.amazonaws.com/source-index/_settings
{
  "settings": {
    "index.routing.allocation.require._name": null,
    "index.blocks.read_only": false
  }
}

PUT https://domain-name.region.es.amazonaws.com/shrunken-index/_settings
{
  "settings": {
    "index.routing.allocation.require._name": null,
    "index.blocks.read_only": false
  }
}
```

### 新名单 APIs
<a name="version_api_new."></a>

为了支持具有大量索引和分片的大型集群，我们引入了支持分页的新列表 APIs ，即`_list/indices`和。`_list/shards`List API 以分页格式检索有关索引和分片的统计信息。这可简化处理包含多个索引的响应的任务。有关 `_list/indices` 的更多信息，请参阅 [List 索引](https://opensearch.org/docs/latest/api-reference/list/list-indices/)。有关 `_list/shards` 的更多信息，请参阅 [List 分片](https://opensearch.org/docs/latest/api-reference/list/list-shards/)。

### 对现有内容的更改 APIs
<a name="version_api_changes_exisiting"></a>

为支持大型集群，我们在 `_cluster/stats/<metric>/nodes/<node-filters>` 和 `_cluster/stats/<metric>/<index_metric>/nodes/<node-filters>` 中添加了支持。有关 `_cluster/stats` 的更多信息，请参阅[集群统计](https://opensearch.org/docs/latest/api-reference/cluster-api/cluster-stats/)。

### 限制 \$1cat 的响应大小 APIs
<a name="version_api_cat"></a>

为支持跨数据和温节点的实例总数超过 200 的大型集群，我们已对 \$1cat/segments API 返回的索引数量设定 10000 的限制。如果响应中的索引数超过此限制，则 API 将返回 `429` 错误。为避免此情况，您可以在查询中指定索引模式筛选条件（例如 `_cat/segments/<index-pattern>`）。

此外，`_cat/shards` API 现在还支持通过指定 `cancel_after_time_interval` 请求参数实现取消任务功能。有关此内容的更多信息，请参阅 [CAT 分片](https://opensearch.org/docs/latest/api-reference/cluster-api/cluster-stats/)。

### 为专用主节点选择实例类型
<a name="version_api_cat"></a>

下表提供有关为专用主节点选择合适实例类型的建议：


| RAM | 支持的最大节点数 | 支持的最大分片数 | 
| --- | --- | --- | 
| 2 GB | 10 | 1000 | 
| 4 GB | 10 | 5000 | 
| 8 GB | 30 | 15000 | 
| 16 GB | 60 | 30000 | 
| 32 GB | 120 | 60000 | 
| 64 GB | 240 | 120,000 | 
| 128 GB | 480 | 240,000 | 
| 256GB | 1002 | 500,000 | 

### OpenSearch 版本 2.19
<a name="version_opensearch_2.19"></a>

有关 OpenSearch 2.19 操作的信息，请参阅 [OpenSearch REST API 参考](https://opensearch.org/docs/latest/opensearch/rest-api/index/)或特定插件的 API 参考。有关此版本变更的更多详细信息，请参阅 [2.19 发布说明](https://github.com/opensearch-project/opensearch-build/blob/main/release-notes/opensearch-release-notes-2.19.0.md)。

### OpenSearch 版本 2.17
<a name="version_opensearch_2.17"></a>

对于 OpenSearch 2.17， OpenSearch 服务支持以下操作。有关大多数操作的信息，请参阅 [OpenSearch REST API 参考](https://opensearch.org/docs/latest/opensearch/rest-api/index/)或特定插件的 API 参考。

**注意**  
从 OpenSearch 2.17 开始，该`cluster.max_shards_per_node`设置无法修改。对于 OpenSearch 2.17 及更高版本， OpenSearch 服务支持每 16GB 的 JVM 堆内存使用 1000 个分片，每个节点最多支持 4000 个分片。


|  |  |  | 
| --- |--- |--- |
|  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  |  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  |  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  | 

1. 集群配置更改可能会在这些操作完成前将其中断。建议您与这些操作一起使用 `/_tasks` 操作，以验证请求是否成功完成。

1. 对具有消息正文的 `/_search/scroll` 的 DELETE 请求必须在 HTTP 标头中指定 `"Content-Length"`。默认情况下，大多数客户端会添加此标头。为避免`scroll_id`值中的`=`字符出现问题，请使用请求正文（而不是查询字符串）将`scroll_id`值传递给 Ser OpenSearch vice。

1. 有关使用脚本的注意事项，请参阅[Amazon OpenSearch 服务中其他支持的资源](supported-resources.md)。

1. 请参考 `PUT` 方法。有关 `GET` 方法的信息，请参阅[值得注意的 API 差异](#version_api_notes)。此列表仅指 OpenSearch 服务支持的一般 OpenSearch 操作，不包括异常检测、ISM 等特定插件支持的操作。

1. 请参阅[收缩](#version_api_notes-shrink)。
**注意**  
目前，多可用区处于备用状态的客户无法更改 `cluster.max_shards_per_node` 设置功能。

### OpenSearch 版本 2.15
<a name="version_opensearch_2.15"></a>

对于 OpenSearch 2.15， OpenSearch 服务支持以下操作。有关大多数操作的信息，请参阅 [OpenSearch REST API 参考](https://opensearch.org/docs/latest/opensearch/rest-api/index/)或特定插件的 API 参考。


|  |  |  | 
| --- |--- |--- |
|  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  |  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  |  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  | 

1. 集群配置更改可能会在这些操作完成前将其中断。建议您与这些操作一起使用 `/_tasks` 操作，以验证请求是否成功完成。

1. 对具有消息正文的 `/_search/scroll` 的 DELETE 请求必须在 HTTP 标头中指定 `"Content-Length"`。默认情况下，大多数客户端会添加此标头。为避免`scroll_id`值中的`=`字符出现问题，请使用请求正文（而不是查询字符串）将`scroll_id`值传递给 Ser OpenSearch vice。

1. 有关使用脚本的注意事项，请参阅[Amazon OpenSearch 服务中其他支持的资源](supported-resources.md)。

1. 请参考 `PUT` 方法。有关 `GET` 方法的信息，请参阅[值得注意的 API 差异](#version_api_notes)。此列表仅指 OpenSearch 服务支持的一般 OpenSearch 操作，不包括异常检测、ISM 等特定插件支持的操作。

1. 请参阅[收缩](#version_api_notes-shrink)。

### OpenSearch 版本 2.13
<a name="version_opensearch_2.13"></a>

对于 OpenSearch 2.13， OpenSearch 服务支持以下操作。有关大多数操作的信息，请参阅 [OpenSearch REST API 参考](https://opensearch.org/docs/latest/opensearch/rest-api/index/)或特定插件的 API 参考。


|  |  |  | 
| --- |--- |--- |
|  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  |  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  |  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  | 

1. 集群配置更改可能会在这些操作完成前将其中断。建议您与这些操作一起使用 `/_tasks` 操作，以验证请求是否成功完成。

1. 对具有消息正文的 `/_search/scroll` 的 DELETE 请求必须在 HTTP 标头中指定 `"Content-Length"`。默认情况下，大多数客户端会添加此标头。为避免`scroll_id`值中的`=`字符出现问题，请使用请求正文（而不是查询字符串）将`scroll_id`值传递给 Ser OpenSearch vice。

1. 有关使用脚本的注意事项，请参阅[Amazon OpenSearch 服务中其他支持的资源](supported-resources.md)。

1. 请参考 `PUT` 方法。有关 `GET` 方法的信息，请参阅[值得注意的 API 差异](#version_api_notes)。此列表仅指 OpenSearch 服务支持的一般 OpenSearch 操作，不包括异常检测、ISM 等特定插件支持的操作。

1. 请参阅[收缩](#version_api_notes-shrink)。

### OpenSearch 版本 2.11
<a name="version_opensearch_2.11"></a>

对于 OpenSearch 2.11， OpenSearch 服务支持以下操作。有关大多数操作的信息，请参阅 [OpenSearch REST API 参考](https://opensearch.org/docs/latest/opensearch/rest-api/index/)或特定插件的 API 参考。


|  |  |  | 
| --- |--- |--- |
|  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  |  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  |  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  | 

1. 集群配置更改可能会在这些操作完成前将其中断。建议您与这些操作一起使用 `/_tasks` 操作，以验证请求是否成功完成。

1. 对具有消息正文的 `/_search/scroll` 的 DELETE 请求必须在 HTTP 标头中指定 `"Content-Length"`。默认情况下，大多数客户端会添加此标头。为避免`scroll_id`值中的`=`字符出现问题，请使用请求正文（而不是查询字符串）将`scroll_id`值传递给 Ser OpenSearch vice。

1. 有关使用脚本的注意事项，请参阅[Amazon OpenSearch 服务中其他支持的资源](supported-resources.md)。

1. 请参考 `PUT` 方法。有关 `GET` 方法的信息，请参阅[值得注意的 API 差异](#version_api_notes)。此列表仅指 OpenSearch 服务支持的一般 OpenSearch 操作，不包括异常检测、ISM 等特定插件支持的操作。

1. 请参阅[收缩](#version_api_notes-shrink)。

### OpenSearch 版本 2.9
<a name="version_opensearch_2.9"></a>

对于 OpenSearch 2.9， OpenSearch 服务支持以下操作。有关大多数操作的信息，请参阅 [OpenSearch REST API 参考](https://opensearch.org/docs/latest/opensearch/rest-api/index/)或特定插件的 API 参考。


|  |  |  | 
| --- |--- |--- |
|  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  |  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  |  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  | 

1. 集群配置更改可能会在这些操作完成前将其中断。建议您与这些操作一起使用 `/_tasks` 操作，以验证请求是否成功完成。

1. 对具有消息正文的 `/_search/scroll` 的 DELETE 请求必须在 HTTP 标头中指定 `"Content-Length"`。默认情况下，大多数客户端会添加此标头。为避免`scroll_id`值中的`=`字符出现问题，请使用请求正文（而不是查询字符串）将`scroll_id`值传递给 Ser OpenSearch vice。

1. 有关使用脚本的注意事项，请参阅[Amazon OpenSearch 服务中其他支持的资源](supported-resources.md)。

1. 请参考 `PUT` 方法。有关 `GET` 方法的信息，请参阅[值得注意的 API 差异](#version_api_notes)。此列表仅指 OpenSearch 服务支持的一般 OpenSearch 操作，不包括异常检测、ISM 等特定插件支持的操作。

1. 请参阅[收缩](#version_api_notes-shrink)。

### OpenSearch 版本 2.7
<a name="version_opensearch_2.7"></a>

对于 OpenSearch 2.7， OpenSearch 服务支持以下操作。有关大多数操作的信息，请参阅 [OpenSearch REST API 参考](https://opensearch.org/docs/latest/opensearch/rest-api/index/)或特定插件的 API 参考。


|  |  |  | 
| --- |--- |--- |
|  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  |  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  |  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  | 

1. 集群配置更改可能会在这些操作完成前将其中断。建议您与这些操作一起使用 `/_tasks` 操作，以验证请求是否成功完成。

1. 对具有消息正文的 `/_search/scroll` 的 DELETE 请求必须在 HTTP 标头中指定 `"Content-Length"`。默认情况下，大多数客户端会添加此标头。为避免`scroll_id`值中的`=`字符出现问题，请使用请求正文（而不是查询字符串）将`scroll_id`值传递给 Ser OpenSearch vice。

1. 有关使用脚本的注意事项，请参阅[Amazon OpenSearch 服务中其他支持的资源](supported-resources.md)。

1. 请参考 `PUT` 方法。有关 `GET` 方法的信息，请参阅[值得注意的 API 差异](#version_api_notes)。此列表仅指 OpenSearch 服务支持的一般 OpenSearch 操作，不包括异常检测、ISM 等特定插件支持的操作。

1. 请参阅[收缩](#version_api_notes-shrink)。

### OpenSearch 版本 2.5
<a name="version_opensearch_2.5"></a>

对于 OpenSearch 2.5， OpenSearch 服务支持以下操作。有关大多数操作的信息，请参阅 [OpenSearch REST API 参考](https://opensearch.org/docs/latest/opensearch/rest-api/index/)或特定插件的 API 参考。


|  |  |  | 
| --- |--- |--- |
|  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  |  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  |  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  | 

1. 集群配置更改可能会在这些操作完成前将其中断。建议您与这些操作一起使用 `/_tasks` 操作，以验证请求是否成功完成。

1. 对具有消息正文的 `/_search/scroll` 的 DELETE 请求必须在 HTTP 标头中指定 `"Content-Length"`。默认情况下，大多数客户端会添加此标头。为避免`scroll_id`值中的`=`字符出现问题，请使用请求正文（而不是查询字符串）将`scroll_id`值传递给 Ser OpenSearch vice。

1. 有关使用脚本的注意事项，请参阅[Amazon OpenSearch 服务中其他支持的资源](supported-resources.md)。

1. 请参考 `PUT` 方法。有关 `GET` 方法的信息，请参阅[值得注意的 API 差异](#version_api_notes)。此列表仅指 OpenSearch 服务支持的一般 OpenSearch 操作，不包括异常检测、ISM 等特定插件支持的操作。

1. 请参阅[收缩](#version_api_notes-shrink)。

### OpenSearch 版本 2.3
<a name="version_opensearch_2.3"></a>

对于 OpenSearch 2.3， OpenSearch 服务支持以下操作。有关大多数操作的信息，请参阅 [OpenSearch REST API 参考](https://opensearch.org/docs/latest/opensearch/rest-api/index/)或特定插件的 API 参考。


|  |  |  | 
| --- |--- |--- |
|  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  |  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  |  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  | 

1. 集群配置更改可能会在这些操作完成前将其中断。建议您与这些操作一起使用 `/_tasks` 操作，以验证请求是否成功完成。

1. 对具有消息正文的 `/_search/scroll` 的 DELETE 请求必须在 HTTP 标头中指定 `"Content-Length"`。默认情况下，大多数客户端会添加此标头。为避免`scroll_id`值中的`=`字符出现问题，请使用请求正文（而不是查询字符串）将`scroll_id`值传递给 Ser OpenSearch vice。

1. 有关使用脚本的注意事项，请参阅[Amazon OpenSearch 服务中其他支持的资源](supported-resources.md)。

1. 请参考 `PUT` 方法。有关 `GET` 方法的信息，请参阅[值得注意的 API 差异](#version_api_notes)。此列表仅指 OpenSearch 服务支持的一般 OpenSearch 操作，不包括异常检测、ISM 等特定插件支持的操作。

1. 请参阅[收缩](#version_api_notes-shrink)。

### OpenSearch 版本 1.3
<a name="version_opensearch_1.3"></a>

对于 OpenSearch 1.3， OpenSearch 服务支持以下操作。有关大多数操作的信息，请参阅 [OpenSearch REST API 参考](https://opensearch.org/docs/latest/opensearch/rest-api/index/)或特定插件的 API 参考。


|  |  |  | 
| --- |--- |--- |
|  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  |  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  |  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  | 

1. 集群配置更改可能会在这些操作完成前将其中断。建议您与这些操作一起使用 `/_tasks` 操作，以验证请求是否成功完成。

1. 对具有消息正文的 `/_search/scroll` 的 DELETE 请求必须在 HTTP 标头中指定 `"Content-Length"`。默认情况下，大多数客户端会添加此标头。为避免`scroll_id`值中的`=`字符出现问题，请使用请求正文（而不是查询字符串）将`scroll_id`值传递给 Ser OpenSearch vice。

1. 有关使用脚本的注意事项，请参阅[Amazon OpenSearch 服务中其他支持的资源](supported-resources.md)。

1. 请参考 `PUT` 方法。有关 `GET` 方法的信息，请参阅[值得注意的 API 差异](#version_api_notes)。此列表仅指 OpenSearch 服务支持的一般 OpenSearch 操作，不包括异常检测、ISM 等特定插件支持的操作。

1. 请参阅[收缩](#version_api_notes-shrink)。

### OpenSearch 版本 1.2
<a name="version_opensearch_1.2"></a>

对于 OpenSearch 1.2， OpenSearch 服务支持以下操作。有关大多数操作的信息，请参阅 [OpenSearch REST API 参考](https://opensearch.org/docs/latest/opensearch/rest-api/index/)或特定插件的 API 参考。


|  |  |  | 
| --- |--- |--- |
|  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  |  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  |  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  | 

1. 集群配置更改可能会在这些操作完成前将其中断。建议您与这些操作一起使用 `/_tasks` 操作，以验证请求是否成功完成。

1. 对具有消息正文的 `/_search/scroll` 的 DELETE 请求必须在 HTTP 标头中指定 `"Content-Length"`。默认情况下，大多数客户端会添加此标头。为避免`scroll_id`值中的`=`字符出现问题，请使用请求正文（而不是查询字符串）将`scroll_id`值传递给 Ser OpenSearch vice。

1. 有关使用脚本的注意事项，请参阅[Amazon OpenSearch 服务中其他支持的资源](supported-resources.md)。

1. 请参考 `PUT` 方法。有关 `GET` 方法的信息，请参阅[值得注意的 API 差异](#version_api_notes)。此列表仅指 OpenSearch 服务支持的一般 OpenSearch 操作，不包括异常检测、ISM 等特定插件支持的操作。

1. 请参阅[收缩](#version_api_notes-shrink)。

### OpenSearch 版本 1.1
<a name="version_opensearch_1.1"></a>

对于 OpenSearch 1.1， OpenSearch 服务支持以下操作。有关大多数操作的信息，请参阅 [OpenSearch REST API 参考](https://opensearch.org/docs/latest/opensearch/rest-api/index/)或特定插件的 API 参考。


|  |  |  | 
| --- |--- |--- |
|  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  |  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  |  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  | 

1. 集群配置更改可能会在这些操作完成前将其中断。建议您与这些操作一起使用 `/_tasks` 操作，以验证请求是否成功完成。

1. 对具有消息正文的 `/_search/scroll` 的 DELETE 请求必须在 HTTP 标头中指定 `"Content-Length"`。默认情况下，大多数客户端会添加此标头。为避免`scroll_id`值中的`=`字符出现问题，请使用请求正文（而不是查询字符串）将`scroll_id`值传递给 Ser OpenSearch vice。

1. 有关使用脚本的注意事项，请参阅[Amazon OpenSearch 服务中其他支持的资源](supported-resources.md)。

1. 请参考 `PUT` 方法。有关 `GET` 方法的信息，请参阅[值得注意的 API 差异](#version_api_notes)。此列表仅指 OpenSearch 服务支持的一般 OpenSearch 操作，不包括异常检测、ISM 等特定插件支持的操作。

1. 请参阅[收缩](#version_api_notes-shrink)。

### OpenSearch 版本 1.0
<a name="version_opensearch_1.0"></a>

对于 OpenSearch 1.0， OpenSearch 服务支持以下操作。有关大多数操作的信息，请参阅 [OpenSearch REST API 参考](https://opensearch.org/docs/latest/opensearch/rest-api/index/)或特定插件的 API 参考。


|  |  |  | 
| --- |--- |--- |
|  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  |  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  |  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  | 

1. 集群配置更改可能会在这些操作完成前将其中断。建议您与这些操作一起使用 `/_tasks` 操作，以验证请求是否成功完成。

1. 对具有消息正文的 `/_search/scroll` 的 DELETE 请求必须在 HTTP 标头中指定 `"Content-Length"`。默认情况下，大多数客户端会添加此标头。为避免`scroll_id`值中的`=`字符出现问题，请使用请求正文（而不是查询字符串）将`scroll_id`值传递给 Ser OpenSearch vice。

1. 有关使用脚本的注意事项，请参阅[Amazon OpenSearch 服务中其他支持的资源](supported-resources.md)。

1. 请参考 `PUT` 方法。有关 `GET` 方法的信息，请参阅[值得注意的 API 差异](#version_api_notes)。此列表仅指 OpenSearch 服务支持的一般 OpenSearch 操作，不包括异常检测、ISM 等特定插件支持的操作。

1. 请参阅[收缩](#version_api_notes-shrink)。

### Elasticsearch 7.10 版
<a name="version_7_10"></a>

对于 Elasticsearch 7.10， OpenSearch 服务支持以下操作。


|  |  |  | 
| --- |--- |--- |
|  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  |  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  |  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  | 

1. 集群配置更改可能会在这些操作完成前将其中断。建议您与这些操作一起使用 `/_tasks` 操作，以验证请求是否成功完成。

1. 对具有消息正文的 `/_search/scroll` 的 DELETE 请求必须在 HTTP 标头中指定 `"Content-Length"`。默认情况下，大多数客户端会添加此标头。为避免`scroll_id`值中的`=`字符出现问题，请使用请求正文（而不是查询字符串）将`scroll_id`值传递给 Ser OpenSearch vice。

1. 有关使用脚本的注意事项，请参阅[Amazon OpenSearch 服务中其他支持的资源](supported-resources.md)。

1. 请参考 `PUT` 方法。有关 `GET` 方法的信息，请参阅[值得注意的 API 差异](#version_api_notes)。此列表仅指 OpenSearch 服务支持的通用 Elasticsearch 操作，不包括针对异常检测、ISM 等的插件特定支持的操作。

1. 请参阅[收缩](#version_api_notes-shrink)。

1. 旧索引模板 (`_template`) 被替换为以 Elasticsearch 7.8 为开头的可组合模板 (`_index_template`)。可组合模板优先于旧模板。如果没有可组合模板匹配给定索引，则旧模板仍然可以匹配并应用。该`_template`操作仍然适用于 OpenSearch 及更高版本的 Elasticsearch OSS，但是对这两种模板类型的 GET 调用会返回不同的结果。

### Elasticsearch 7.9 版
<a name="version_7_9"></a>

对于 Elasticsearch 7.9， OpenSearch 服务支持以下操作。


|  |  |  | 
| --- |--- |--- |
|  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  |  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  |  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  | 

1. 集群配置更改可能会在这些操作完成前将其中断。建议您与这些操作一起使用 `/_tasks` 操作，以验证请求是否成功完成。

1. 对具有消息正文的 `/_search/scroll` 的 DELETE 请求必须在 HTTP 标头中指定 `"Content-Length"`。默认情况下，大多数客户端会添加此标头。为避免`scroll_id`值中的`=`字符出现问题，请使用请求正文（而不是查询字符串）将`scroll_id`值传递给 Ser OpenSearch vice。

1. 有关使用脚本的注意事项，请参阅[Amazon OpenSearch 服务中其他支持的资源](supported-resources.md)。

1. 请参考 `PUT` 方法。有关 `GET` 方法的信息，请参阅[值得注意的 API 差异](#version_api_notes)。此列表仅指 OpenSearch 服务支持的一般 OpenSearch 操作，不包括异常检测、ISM 等特定插件支持的操作。

1. 请参阅[收缩](#version_api_notes-shrink)。

1. 旧索引模板 (`_template`) 被替换为以 Elasticsearch 7.8 为开头的可组合模板 (`_index_template`)。可组合模板优先于旧模板。如果没有可组合模板匹配给定索引，则旧模板仍然可以匹配并应用。该`_template`操作仍然适用于 OpenSearch 及更高版本的 Elasticsearch OSS，但是对这两种模板类型的 GET 调用会返回不同的结果。

### Elasticsearch 7.8 版
<a name="version_7_8"></a>

对于 Elasticsearch 7.8， OpenSearch 服务支持以下操作。


|  |  |  | 
| --- |--- |--- |
|  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  |  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  |  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  | 

1. 集群配置更改可能会在这些操作完成前将其中断。建议您与这些操作一起使用 `/_tasks` 操作，以验证请求是否成功完成。

1. 对具有消息正文的 `/_search/scroll` 的 DELETE 请求必须在 HTTP 标头中指定 `"Content-Length"`。默认情况下，大多数客户端会添加此标头。为避免`scroll_id`值中的`=`字符出现问题，请使用请求正文（而不是查询字符串）将`scroll_id`值传递给 Ser OpenSearch vice。

1. 有关使用脚本的注意事项，请参阅[Amazon OpenSearch 服务中其他支持的资源](supported-resources.md)。

1. 请参考 `PUT` 方法。有关 `GET` 方法的信息，请参阅[值得注意的 API 差异](#version_api_notes)。此列表仅指 OpenSearch 服务支持的通用 Elasticsearch 操作，不包括针对异常检测、ISM 等的插件特定支持的操作。

1. 请参阅[收缩](#version_api_notes-shrink)。

1. 旧索引模板 (`_template`) 被替换为以 Elasticsearch 7.8 为开头的可组合模板 (`_index_template`)。可组合模板优先于旧模板。如果没有可组合模板匹配给定索引，则旧模板仍然可以匹配并应用。该`_template`操作仍然适用于 OpenSearch 及更高版本的 Elasticsearch OSS，但是对这两种模板类型的 GET 调用会返回不同的结果。

### Elasticsearch 7.7 版
<a name="version_7_7"></a>

对于 Elasticsearch 7.7， OpenSearch 服务支持以下操作。


|  |  |  | 
| --- |--- |--- |
|  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  |  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  |  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  | 

1. 集群配置更改可能会在这些操作完成前将其中断。建议您与这些操作一起使用 `/_tasks` 操作，以验证请求是否成功完成。

1. 对具有消息正文的 `/_search/scroll` 的 DELETE 请求必须在 HTTP 标头中指定 `"Content-Length"`。默认情况下，大多数客户端会添加此标头。为避免`scroll_id`值中的`=`字符出现问题，请使用请求正文（而不是查询字符串）将`scroll_id`值传递给 Ser OpenSearch vice。

1. 有关使用脚本的注意事项，请参阅[Amazon OpenSearch 服务中其他支持的资源](supported-resources.md)。

1. 请参考 `PUT` 方法。有关 `GET` 方法的信息，请参阅[值得注意的 API 差异](#version_api_notes)。此列表仅指 OpenSearch 服务支持的通用 Elasticsearch 操作，不包括针对异常检测、ISM 等的插件特定支持的操作。

1. 请参阅[收缩](#version_api_notes-shrink)。

### Elasticsearch 7.4 版
<a name="version_7_4"></a>

对于 Elasticsearch 7.4， OpenSearch 服务支持以下操作。


|  |  |  | 
| --- |--- |--- |
|  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  |  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  |  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  | 

1. 集群配置更改可能会在这些操作完成前将其中断。建议您与这些操作一起使用 `/_tasks` 操作，以验证请求是否成功完成。

1. 对具有消息正文的 `/_search/scroll` 的 DELETE 请求必须在 HTTP 标头中指定 `"Content-Length"`。默认情况下，大多数客户端会添加此标头。为避免`scroll_id`值中的`=`字符出现问题，请使用请求正文（而不是查询字符串）将`scroll_id`值传递给 Ser OpenSearch vice。

1. 有关使用脚本的注意事项，请参阅[Amazon OpenSearch 服务中其他支持的资源](supported-resources.md)。

1. 请参考 `PUT` 方法。有关 `GET` 方法的信息，请参阅[值得注意的 API 差异](#version_api_notes)。此列表仅指 OpenSearch 服务支持的通用 Elasticsearch 操作，不包括针对异常检测、ISM 等的插件特定支持的操作。

1. 请参阅[收缩](#version_api_notes-shrink)。

### Elasticsearch 7.1 版
<a name="version_7_1"></a>

对于 Elasticsearch 7.1， OpenSearch 服务支持以下操作。


|  |  |  | 
| --- |--- |--- |
|  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  |  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  |  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  | 

1. 集群配置更改可能会在这些操作完成前将其中断。建议您与这些操作一起使用 `/_tasks` 操作，以验证请求是否成功完成。

1. 对具有消息正文的 `/_search/scroll` 的 DELETE 请求必须在 HTTP 标头中指定 `"Content-Length"`。默认情况下，大多数客户端会添加此标头。为避免`scroll_id`值中的`=`字符出现问题，请使用请求正文（而不是查询字符串）将`scroll_id`值传递给 Ser OpenSearch vice。

1. 有关使用脚本的注意事项，请参阅[Amazon OpenSearch 服务中其他支持的资源](supported-resources.md)。

1. 请参考 `PUT` 方法。有关 `GET` 方法的信息，请参阅[值得注意的 API 差异](#version_api_notes)。此列表仅指 OpenSearch 服务支持的通用 Elasticsearch 操作，不包括针对异常检测、ISM 等的插件特定支持的操作。

1. 请参阅[收缩](#version_api_notes-shrink)。

### Elasticsearch 6.8 版
<a name="version_6_8"></a>

对于 Elasticsearch 6.8， OpenSearch 服务支持以下操作。


|  |  |  | 
| --- |--- |--- |
|  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  |  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  |  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  | 

1. 集群配置更改可能会在这些操作完成前将其中断。建议您与这些操作一起使用 `/_tasks` 操作，以验证请求是否成功完成。

1. 对具有消息正文的 `/_search/scroll` 的 DELETE 请求必须在 HTTP 标头中指定 `"Content-Length"`。默认情况下，大多数客户端会添加此标头。为避免`scroll_id`值中的`=`字符出现问题，请使用请求正文（而不是查询字符串）将`scroll_id`值传递给 Ser OpenSearch vice。

1. 有关使用脚本的注意事项，请参阅[Amazon OpenSearch 服务中其他支持的资源](supported-resources.md)。

1. 请参考 `PUT` 方法。有关 `GET` 方法的信息，请参阅[值得注意的 API 差异](#version_api_notes)。此列表仅指 OpenSearch 服务支持的通用 Elasticsearch 操作，不包括针对异常检测、ISM 等的插件特定支持的操作。

1. 请参阅[收缩](#version_api_notes-shrink)。

### Elasticsearch 6.7 版
<a name="version_6_7"></a>

对于 Elasticsearch 6.7， OpenSearch 服务支持以下操作。


|  |  |  | 
| --- |--- |--- |
|  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  |  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  |  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  | 

1. 集群配置更改可能会在这些操作完成前将其中断。建议您与这些操作一起使用 `/_tasks` 操作，以验证请求是否成功完成。

1. 对具有消息正文的 `/_search/scroll` 的 DELETE 请求必须在 HTTP 标头中指定 `"Content-Length"`。默认情况下，大多数客户端会添加此标头。为避免`scroll_id`值中的`=`字符出现问题，请使用请求正文（而不是查询字符串）将`scroll_id`值传递给 Ser OpenSearch vice。

1. 有关使用脚本的注意事项，请参阅[Amazon OpenSearch 服务中其他支持的资源](supported-resources.md)。

1. 请参考 `PUT` 方法。有关 `GET` 方法的信息，请参阅[值得注意的 API 差异](#version_api_notes)。此列表仅指 OpenSearch 服务支持的通用 Elasticsearch 操作，不包括针对异常检测、ISM 等的插件特定支持的操作。

1. 请参阅[收缩](#version_api_notes-shrink)。

### Elasticsearch 6.5 版
<a name="version_6_5"></a>

对于 Elasticsearch 6.5， OpenSearch 服务支持以下操作。


|  |  |  | 
| --- |--- |--- |
|  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  |  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  |  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  | 

1. 集群配置更改可能会在这些操作完成前将其中断。建议您与这些操作一起使用 `/_tasks` 操作，以验证请求是否成功完成。

1. 对具有消息正文的 `/_search/scroll` 的 DELETE 请求必须在 HTTP 标头中指定 `"Content-Length"`。默认情况下，大多数客户端会添加此标头。为避免`scroll_id`值中的`=`字符出现问题，请使用请求正文（而不是查询字符串）将`scroll_id`值传递给 Ser OpenSearch vice。

1. 有关使用脚本的注意事项，请参阅[Amazon OpenSearch 服务中其他支持的资源](supported-resources.md)。

1. 请参考 `PUT` 方法。有关 `GET` 方法的信息，请参阅[值得注意的 API 差异](#version_api_notes)。此列表仅指 OpenSearch 服务支持的通用 Elasticsearch 操作，不包括针对异常检测、ISM 等的插件特定支持的操作。

1. 请参阅[收缩](#version_api_notes-shrink)。

### Elasticsearch 6.4 版
<a name="version_6_4"></a>

对于 Elasticsearch 6.4， OpenSearch 服务支持以下操作。


|  |  |  | 
| --- |--- |--- |
|  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  |  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  |  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  | 

1. 集群配置更改可能会在这些操作完成前将其中断。建议您与这些操作一起使用 `/_tasks` 操作，以验证请求是否成功完成。

1. 对具有消息正文的 `/_search/scroll` 的 DELETE 请求必须在 HTTP 标头中指定 `"Content-Length"`。默认情况下，大多数客户端会添加此标头。为避免`scroll_id`值中的`=`字符出现问题，请使用请求正文（而不是查询字符串）将`scroll_id`值传递给 Ser OpenSearch vice。

1. 有关使用脚本的注意事项，请参阅[Amazon OpenSearch 服务中其他支持的资源](supported-resources.md)。

1. 请参考 `PUT` 方法。有关 `GET` 方法的信息，请参阅[值得注意的 API 差异](#version_api_notes)。此列表仅指 OpenSearch 服务支持的通用 Elasticsearch 操作，不包括针对异常检测、ISM 等的插件特定支持的操作。

1. 请参阅[收缩](#version_api_notes-shrink)。

### Elasticsearch 6.3 版
<a name="version_6_3"></a>

对于 Elasticsearch 6.3， OpenSearch 服务支持以下操作。


|  |  |  | 
| --- |--- |--- |
|  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  |  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  |  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  | 

1. 集群配置更改可能会在这些操作完成前将其中断。建议您与这些操作一起使用 `/_tasks` 操作，以验证请求是否成功完成。

1. 对具有消息正文的 `/_search/scroll` 的 DELETE 请求必须在 HTTP 标头中指定 `"Content-Length"`。默认情况下，大多数客户端会添加此标头。为避免`scroll_id`值中的`=`字符出现问题，请使用请求正文（而不是查询字符串）将`scroll_id`值传递给 Ser OpenSearch vice。

1. 有关使用脚本的注意事项，请参阅[Amazon OpenSearch 服务中其他支持的资源](supported-resources.md)。

1. 请参考 `PUT` 方法。有关 `GET` 方法的信息，请参阅[值得注意的 API 差异](#version_api_notes)。此列表仅指 OpenSearch 服务支持的通用 Elasticsearch 操作，不包括针对异常检测、ISM 等的插件特定支持的操作。

1. 请参阅[收缩](#version_api_notes-shrink)。

### Elasticsearch 6.2 版
<a name="version_6_2"></a>

对于 Elasticsearch 6.2， OpenSearch 服务支持以下操作。


|  |  |  | 
| --- |--- |--- |
|  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  |  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  |  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  | 

1. 集群配置更改可能会在这些操作完成前将其中断。建议您与这些操作一起使用 `/_tasks` 操作，以验证请求是否成功完成。

1. 对具有消息正文的 `/_search/scroll` 的 DELETE 请求必须在 HTTP 标头中指定 `"Content-Length"`。默认情况下，大多数客户端会添加此标头。为避免`scroll_id`值中的`=`字符出现问题，请使用请求正文（而不是查询字符串）将`scroll_id`值传递给 Ser OpenSearch vice。

1. 有关使用脚本的注意事项，请参阅[Amazon OpenSearch 服务中其他支持的资源](supported-resources.md)。

1. 请参考 `PUT` 方法。有关 `GET` 方法的信息，请参阅[值得注意的 API 差异](#version_api_notes)。此列表仅指 OpenSearch 服务支持的通用 Elasticsearch 操作，不包括针对异常检测、ISM 等的插件特定支持的操作。

1. 请参阅[收缩](#version_api_notes-shrink)。

### Elasticsearch 6.0 版
<a name="version_6_0"></a>

对于 Elasticsearch 6.0， OpenSearch 服务支持以下操作。


|  |  |  | 
| --- |--- |--- |
|  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  |  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  |  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  | 

1. 集群配置更改可能会在这些操作完成前将其中断。建议您与这些操作一起使用 `/_tasks` 操作，以验证请求是否成功完成。

1. 对具有消息正文的 `/_search/scroll` 的 DELETE 请求必须在 HTTP 标头中指定 `"Content-Length"`。默认情况下，大多数客户端会添加此标头。为避免`scroll_id`值中的`=`字符出现问题，请使用请求正文（而不是查询字符串）将`scroll_id`值传递给 Ser OpenSearch vice。

1. 有关使用脚本的注意事项，请参阅[Amazon OpenSearch 服务中其他支持的资源](supported-resources.md)。

1. 请参考 `PUT` 方法。有关 `GET` 方法的信息，请参阅[值得注意的 API 差异](#version_api_notes)。此列表仅指 OpenSearch 服务支持的通用 Elasticsearch 操作，不包括针对异常检测、ISM 等的插件特定支持的操作。

1. 请参阅[收缩](#version_api_notes-shrink)。

### Elasticsearch 5.6 版
<a name="version_5_6"></a>

对于 Elasticsearch 5.6， OpenSearch 服务支持以下操作。


|  |  |  | 
| --- |--- |--- |
|  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  |  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  |  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  | 

1. 集群配置更改可能会在这些操作完成前将其中断。建议您与这些操作一起使用 `/_tasks` 操作，以验证请求是否成功完成。

1. 对具有消息正文的 `/_search/scroll` 的 DELETE 请求必须在 HTTP 标头中指定 `"Content-Length"`。默认情况下，大多数客户端会添加此标头。为避免`scroll_id`值中的`=`字符出现问题，请使用请求正文（而不是查询字符串）将`scroll_id`值传递给 Ser OpenSearch vice。

1. 有关使用脚本的注意事项，请参阅[Amazon OpenSearch 服务中其他支持的资源](supported-resources.md)。

1. 请参考 `PUT` 方法。有关 `GET` 方法的信息，请参阅[值得注意的 API 差异](#version_api_notes)。此列表仅指 OpenSearch 服务支持的通用 Elasticsearch 操作，不包括针对异常检测、ISM 等的插件特定支持的操作。

1. 请参阅[收缩](#version_api_notes-shrink)。

### Elasticsearch 5.5 版
<a name="version_5_5"></a>

对于 Elasticsearch 5.5， OpenSearch 服务支持以下操作。


|  |  |  | 
| --- |--- |--- |
|  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  |  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  |  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  | 

1. 集群配置更改可能会在这些操作完成前将其中断。建议您与这些操作一起使用 `/_tasks` 操作，以验证请求是否成功完成。

1. 对具有消息正文的 `/_search/scroll` 的 DELETE 请求必须在 HTTP 标头中指定 `"Content-Length"`。默认情况下，大多数客户端会添加此标头。为避免`scroll_id`值中的`=`字符出现问题，请使用请求正文（而不是查询字符串）将`scroll_id`值传递给 Ser OpenSearch vice。

1. 有关使用脚本的注意事项，请参阅[Amazon OpenSearch 服务中其他支持的资源](supported-resources.md)。

1. 请参考 `PUT` 方法。有关 `GET` 方法的信息，请参阅[值得注意的 API 差异](#version_api_notes)。此列表仅指 OpenSearch 服务支持的通用 Elasticsearch 操作，不包括针对异常检测、ISM 等的插件特定支持的操作。

1. 请参阅[收缩](#version_api_notes-shrink)。

### Elasticsearch 5.3 版
<a name="version_5_3"></a>

对于 Elasticsearch 5.3， OpenSearch 服务支持以下操作。


|  |  |  | 
| --- |--- |--- |
|  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  |  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  |  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  | 

1. 集群配置更改可能会在这些操作完成前将其中断。建议您与这些操作一起使用 `/_tasks` 操作，以验证请求是否成功完成。

1. 对具有消息正文的 `/_search/scroll` 的 DELETE 请求必须在 HTTP 标头中指定 `"Content-Length"`。默认情况下，大多数客户端会添加此标头。为避免`scroll_id`值中的`=`字符出现问题，请使用请求正文（而不是查询字符串）将`scroll_id`值传递给 Ser OpenSearch vice。

1. 请参考 `PUT` 方法。有关 `GET` 方法的信息，请参阅[值得注意的 API 差异](#version_api_notes)。此列表仅指 OpenSearch 服务支持的通用 Elasticsearch 操作，不包括针对异常检测、ISM 等的插件特定支持的操作。

1. 请参阅[收缩](#version_api_notes-shrink)。

### Elasticsearch 5.1 版
<a name="version_5_1"></a>

对于 Elasticsearch 5.1， OpenSearch 服务支持以下操作。


|  |  |  | 
| --- |--- |--- |
|  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  |  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  |  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  | 

1. 集群配置更改可能会在这些操作完成前将其中断。建议您与这些操作一起使用 `/_tasks` 操作，以验证请求是否成功完成。

1. 对具有消息正文的 `/_search/scroll` 的 DELETE 请求必须在 HTTP 标头中指定 `"Content-Length"`。默认情况下，大多数客户端会添加此标头。为避免`scroll_id`值中的`=`字符出现问题，请使用请求正文（而不是查询字符串）将`scroll_id`值传递给 Ser OpenSearch vice。

1. 请参阅[收缩](#version_api_notes-shrink)。

### Elasticsearch 2.3 版
<a name="version_2_3"></a>

对于 Elasticsearch 2.3， OpenSearch 服务支持以下操作。


|  |  | 
| --- |--- |
|  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  |  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  | 

### Elasticsearch 1.5 版
<a name="version_1_5"></a>

对于 Elasticsearch 1.5， OpenSearch 服务支持以下操作。


|  |  | 
| --- |--- |
|  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  |  [\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/opensearch-service/latest/developerguide/supported-operations.html)  | 