[DOCS] Update snippet callouts in mapping.asciidoc
Updates the example mapping to make it more clear what is for each numbered callout.
@@ -136,10 +136,10 @@ PUT my_index <1>
"_doc": { <2>
"properties": { <3>
"title": { "type": "text" }, <4>
- "name": { "type": "text" }, <4>
- "age": { "type": "integer" }, <4>
+ "name": { "type": "text" }, <5>
+ "age": { "type": "integer" }, <6>
"created": {
- "type": "date", <4>
+ "type": "date", <7>
"format": "strict_date_optional_time||epoch_millis"
}
}
@@ -151,7 +151,10 @@ PUT my_index <1>
<1> Create an index called `my_index`.
<2> Add a mapping type called `_doc`.
<3> Specify fields or _properties_.
-<4> Specify the data `type` and mapping for each field.
+<4> Specify that the `title` field contains `text` values.
+<5> Specify that the `name` field contains `text` values.
+<6> Specify that the `age` field contains `integer` values.
+<7> Specify that the `created` field contains `date` values in two possible formats.
--
