uid-field.asciidoc 443 B

1234567891011
  1. [[mapping-uid-field]]
  2. === `_uid`
  3. Each document indexed is associated with an id and a type, the internal
  4. `_uid` field is the unique identifier of a document within an index and
  5. is composed of the type and the id (meaning that different types can
  6. have the same id and still maintain uniqueness).
  7. The `_uid` field is automatically used when `_type` is not indexed to
  8. perform type based filtering, and does not require the `_id` to be
  9. indexed.