You are looking at documentation for an older release.
Not what you want? See the
current release documentation.
_sizeedit
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:
{
"tweet" : {
"_size" : {"enabled" : true}
}
}In order to also store it, use:
{
"tweet" : {
"_size" : {"enabled" : true, "store" : true }
}
}