OpenSearch/docs/reference/mapping/fields/id-field.asciidoc
Ryan Ernst e29492ce94 Docs: Cleanup meta field docs
Meta fields were locked down to not allow exotic options to the
underlying field types in #8143. This change fixes the docs
to no longer refer to the old settings.

closes #10879
2015-05-07 11:26:49 -07:00

12 lines
384 B
Plaintext

[[mapping-id-field]]
=== `_id`
Each document indexed is associated with an id and a type. The `_id`
field allows accessing only the id of a document.
Note, even though the `_id` is not indexed, all the APIs still work
(since they work with the `_uid` field), as well as fetching by ids
using `term`, `terms` or `prefix` queries/filters (including the
specific `ids` query/filter).