Skip to content

Commit

Permalink
[7.x] [DOCS] Update index templates example (#62530) (#62572)
Browse files Browse the repository at this point in the history
  • Loading branch information
alisonelizabeth authored Apr 6, 2020
1 parent cde854b commit 69fbbe7
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions docs/management/managing-indices.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit 69fbbe7

Please sign in to comment.