[DOCS] Update id-field.asciidoc (#42482)

Adding a note around the size limit for `_id`
This commit is contained in:
Mark Walkom 2019-07-15 23:39:20 +10:00 committed by Luca Cavanna
parent 8a2d23671a
commit 4a5215d22a

View File

@ -39,3 +39,9 @@ but doing so is discouraged as it requires to load a lot of data in memory. In
case sorting or aggregating on the `_id` field is required, it is advised to
duplicate the content of the `_id` field in another field that has `doc_values`
enabled.
[NOTE]
==================================================
`_id` is limited to 512 bytes in size and larger values will be rejected.
==================================================