OpenSearch/docs/reference/mapping/fields/size-field.asciidoc
Ryan Ernst e29492ce94 Docs: Cleanup meta field docs
Meta fields were locked down to not allow exotic options to the
underlying field types in #8143. This change fixes the docs
to no longer refer to the old settings.

closes #10879
2015-05-07 11:26:49 -07:00

16 lines
376 B
Plaintext

[[mapping-size-field]]
=== `_size`
The `_size` field allows to automatically index the size of the original
`_source` indexed. By default, it's disabled. In order to enable it, set
the mapping to:
[source,js]
--------------------------------------------------
{
"tweet" : {
"_size" : {"enabled" : true}
}
}
--------------------------------------------------