uid-field.asciidoc 388 B

12345678910
  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 for type based filtering, as well as for
  8. lookups of `_id` and `_type`.