This documentation contains work-in-progress information for future Elastic Stack and Cloud releases. Use the version selector to view supported release docs. It also contains some Elastic Cloud serverless information. Check out our serverless docs for more details.
Mapper size plugin
editMapper size plugin
editThe mapper-size plugin provides the _size
metadata field which, when enabled,
indexes the size in bytes of the original
_source
field.
Installation
editVersion 8.16.0 of the Elastic Stack has not yet been released.
This plugin can be installed using the plugin manager:
sudo bin/elasticsearch-plugin install mapper-size
The plugin must be installed on every node in the cluster, and each node must be restarted after installation.
You can download this plugin for offline
install from https://artifacts.elastic.co/downloads/elasticsearch-plugins/mapper-size/mapper-size-8.16.0.zip. To verify
the .zip
file, use the
SHA hash or
ASC key.
Removal
editThe plugin can be removed with the following command:
sudo bin/elasticsearch-plugin remove mapper-size
The node must be stopped before removing the plugin.