diff --git a/docs/painless/painless-contexts/painless-reindex-context.asciidoc b/docs/painless/painless-contexts/painless-reindex-context.asciidoc index 13b216bac6345..9aae1ae70c5ac 100644 --- a/docs/painless/painless-contexts/painless-reindex-context.asciidoc +++ b/docs/painless/painless-contexts/painless-reindex-context.asciidoc @@ -19,7 +19,7 @@ reindexed into a target index. {ref}/mapping-index-field.html[`ctx['_index']`] (`String`):: The name of the index. -{ref}/mapping-id-field.html[`ctx['_id']`] (`int`, read-only):: +{ref}/mapping-id-field.html[`ctx['_id']`] (`String`):: The unique document id. `ctx['_version']` (`int`):: diff --git a/docs/painless/painless-contexts/painless-update-by-query-context.asciidoc b/docs/painless/painless-contexts/painless-update-by-query-context.asciidoc index d8f9d4d7bae70..78a8b8d36d6bb 100644 --- a/docs/painless/painless-contexts/painless-update-by-query-context.asciidoc +++ b/docs/painless/painless-contexts/painless-update-by-query-context.asciidoc @@ -20,7 +20,7 @@ result of query. {ref}/mapping-index-field.html[`ctx['_index']`] (`String`, read-only):: The name of the index. -{ref}/mapping-id-field.html[`ctx['_id']`] (`int`, read-only):: +{ref}/mapping-id-field.html[`ctx['_id']`] (`String`, read-only):: The unique document id. `ctx['_version']` (`int`, read-only):: diff --git a/docs/painless/painless-contexts/painless-update-context.asciidoc b/docs/painless/painless-contexts/painless-update-context.asciidoc index f9ae3434827d9..53b1008cfebff 100644 --- a/docs/painless/painless-contexts/painless-update-context.asciidoc +++ b/docs/painless/painless-contexts/painless-update-context.asciidoc @@ -18,7 +18,7 @@ add, modify, or delete fields within a single document. {ref}/mapping-index-field.html[`ctx['_index']`] (`String`, read-only):: The name of the index. -{ref}/mapping-id-field.html[`ctx['_id']`] (`int`, read-only):: +{ref}/mapping-id-field.html[`ctx['_id']`] (`String`, read-only):: The unique document id. `ctx['_version']` (`int`, read-only)::