Browse Source

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

Adding a note around the size limit for `_id`
Mark Walkom 6 years ago
parent
commit
72f7b02320
1 changed files with 6 additions and 0 deletions
  1. 6 0
      docs/reference/mapping/fields/id-field.asciidoc

+ 6 - 0
docs/reference/mapping/fields/id-field.asciidoc

@@ -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.
+==================================================