Skip to content

Commit e6318c2

Browse files
Fix mget docs to correctly ref routing param (#11605)
* Fix mget docs to correctly ref routing param The `routing` param in the body is not prefixed with `_` Signed-off-by: Robbie Mackay <[email protected]> * Update _api-reference/document-apis/multi-get.md Signed-off-by: kolchfa-aws <[email protected]> --------- Signed-off-by: Robbie Mackay <[email protected]> Signed-off-by: kolchfa-aws <[email protected]> Co-authored-by: kolchfa-aws <[email protected]>
1 parent cfecb67 commit e6318c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

_api-reference/document-apis/multi-get.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@ If you don't specify an index in your request's URL, you must specify your targe
4949

5050
Field | Type | Description | Required
5151
:--- | :--- | :--- | :---
52-
docs | Array | The documents you want to retrieve data from. Can contain the attributes: `_id`, `_index`, `_routing`, `_source`, and `_stored_fields`. If you specify an index in the URL, you can omit this field and add IDs of the documents to retrieve. | Yes if an index is not specified in the URL
52+
docs | Array | The documents you want to retrieve data from. Can contain the attributes: `_id`, `_index`, `routing`, `_source`, and `_stored_fields`. If you specify an index in the URL, you can omit this field and add IDs of the documents to retrieve. | Yes if an index is not specified in the URL
5353
_id | String | The ID of the document. | Yes if `docs` is specified in the request body
5454
_index | String | Name of the index. | Yes if an index is not specified in the URL
55-
_routing | String | The value of the shard that has the document. | Yes if a routing value was used when indexing the document
55+
routing | String | The value of the shard that contains the document. | Yes if a routing value was used when indexing the document
5656
_source | Object | Specifies whether to return the `_source` field from an index (boolean), whether to return specific fields (array), or whether to include or exclude certain fields. | No
5757
_source.includes | Array | Specifies which fields to include in the query response. For example, `"_source": { "include": ["Title"] }` retrieves `Title` from the index. | No
5858
_source.excludes | Array | Specifies which fields to exclude in the query response. For example, `"_source": { "exclude": ["Director"] }` excludes `Director` from the query response. | No

0 commit comments

Comments
 (0)