Each document has metadata associated with it, such as the
_id meta-fields. The behaviour of some of these meta-fields
can be customised when a mapping type is created.
The index to which the document belongs.
The document’s mapping type.
The document’s ID.
- A custom routing value which routes a document to a particular shard.
- Application specific metadata.