WARNING: Version 1.4 of Elasticsearch has passed its EOL date.
This documentation is no longer being maintained and may be removed. If you are running this version, we strongly advise you to upgrade. For the latest information, see the current release documentation.
Meta
editMeta
editEach mapping can have custom meta data associated with it. These are
simple storage elements that are simply persisted along with the mapping
and can be retrieved when fetching the mapping definition. The meta is
defined under the _meta
element, for example:
{ "tweet" : { "_meta" : { "attr1" : "value1", "attr2" : { "attr3" : "value3" } } } }
Meta can be handy for example for client libraries that perform serialization and deserialization to store its meta model (for example, the class the document maps to).