[7.x] [DOCS] Update index templates example (#62530) (#62572)

This commit is contained in:
Alison Goryachev 2020-04-06 09:22:23 -04:00 committed by GitHub
parent cde854b71a
commit 69fbbe729b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -126,6 +126,23 @@ under the *Mapped fields* tab as follows:
[role="screenshot"]
image::images/management-index-templates-mappings.png[Mapped fields page]
Alternatively, you can click the *Load JSON* link and define the mapping as JSON:
[source,js]
----------------------------------
{
"properties": {
"geo": {
"properties": {
"coordinates": {
"type": "geo_point"
}
}
}
}
}
----------------------------------
You can create additional mapping configurations in the *Dynamic templates* and
*Advanced options* tabs. No additional mappings are required for this example.