From 05f466d2af236605bae1ed4c3f3a5d5e1681db35 Mon Sep 17 00:00:00 2001 From: Aria Marble <111301581+ariamarble@users.noreply.github.com> Date: Mon, 3 Oct 2022 11:49:30 -0700 Subject: [PATCH] Update of source parameter in documentation (#1368) * update of source parameter in documentation Signed-off-by: ariamarble * made suggested changes Signed-off-by: ariamarble Signed-off-by: ariamarble --- _opensearch/rest-api/document-apis/update-document.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_opensearch/rest-api/document-apis/update-document.md b/_opensearch/rest-api/document-apis/update-document.md index 3e925bde..15b5b235 100644 --- a/_opensearch/rest-api/document-apis/update-document.md +++ b/_opensearch/rest-api/document-apis/update-document.md @@ -54,7 +54,7 @@ require_alias | Boolean | Specifies whether the destination must be an index ali refresh | Enum | If true, OpenSearch refreshes shards to make the operation visible to searching. Valid options are `true`, `false`, and `wait_for`, which tells OpenSearch to wait for a refresh before executing the operation. Default is `false`. | No retry_on_conflict | Integer | The amount of times OpenSearch should retry the operation if there's a document conflict. Default is 0. | No routing | String | Value to route the update operation to a specific shard. | No -_source | List | Whether to include the `_source` field in the response body. Default is true. | No +_source | Boolean or List | Whether or not to include the `_source` field in the response body. Default is `false`. This parameter also supports a comma-separated list of source fields for including multiple source fields in the query response. | No _source_excludes | List | A comma-separated list of source fields to exclude in the query response. | No _source_includes | List | A comma-separated list of source fields to include in the query response. | No timeout | Time | How long to wait for a response from the cluster. | No