Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/reference/indices/templates.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ PUT _template/template_1
"number_of_shards": 1
},
"mappings": {
"type1": {
"_doc": {
"_source": {
"enabled": false
},
Expand Down Expand Up @@ -157,7 +157,7 @@ PUT /_template/template_1
"number_of_shards" : 1
},
"mappings" : {
"type1" : {
"_doc" : {
"_source" : { "enabled" : false }
}
}
Expand All @@ -171,7 +171,7 @@ PUT /_template/template_2
"number_of_shards" : 1
},
"mappings" : {
"type1" : {
"_doc" : {
"_source" : { "enabled" : true }
}
}
Expand All @@ -180,7 +180,7 @@ PUT /_template/template_2
// CONSOLE
// TEST[s/^/DELETE _template\/template_1\n/]

The above will disable storing the `_source` on all `type1` types, but
The above will disable storing the `_source`, but
for indices that start with `te*`, `_source` will still be enabled.
Note, for mappings, the merging is "deep", meaning that specific
object/property based mappings can easily be added/overridden on higher
Expand Down