[[mapping-fields]] == Meta-Fields Each document has metadata associated with it, such as the `_index`, mapping <>, and `_id` meta-fields. The behaviour of some of these meta-fields can be customised when a mapping type is created. [discrete] === Identity meta-fields [horizontal] <>:: The index to which the document belongs. <>:: The document's mapping type. <>:: The document's ID. [discrete] === Document source meta-fields <>:: The original JSON representing the body of the document. {plugins}/mapper-size.html[`_size`]:: The size of the `_source` field in bytes, provided by the {plugins}/mapper-size.html[`mapper-size` plugin]. [discrete] === Indexing meta-fields <>:: All fields in the document which contain non-null values. <>:: All fields in the document that have been ignored at index time because of <>. [discrete] === Routing meta-field <>:: A custom routing value which routes a document to a particular shard. [discrete] === Other meta-field <>:: Application specific metadata. include::fields/field-names-field.asciidoc[] include::fields/ignored-field.asciidoc[] include::fields/id-field.asciidoc[] include::fields/index-field.asciidoc[] include::fields/meta-field.asciidoc[] include::fields/routing-field.asciidoc[] include::fields/source-field.asciidoc[] include::fields/type-field.asciidoc[]