id-field.asciidoc 384 B

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