File tree Expand file tree Collapse file tree 1 file changed +11
-14
lines changed Expand file tree Collapse file tree 1 file changed +11
-14
lines changed Original file line number Diff line number Diff line change 1- ==== Metadata: Document Identity
1+ ==== 元数据:文档标识
22
3- There are four metadata fields ((("metadata, document", "identity"))) associated with document identity:
3+ 文档标识与四个元数据字段 ((("metadata, document", "identity"))) 相关:
44
55`_id` ::
6- The string ID of the document
6+ 文档的 ID 字符串
77
88`_type` ::
9- The type name of the document
9+ 文档的类型名
1010
1111`_index` ::
12- The index where the document lives
12+ 文档所在的索引
1313
1414`_uid` ::
15- The `_type` and `_id` concatenated together as `type#id`
15+ `_type` 和 `_id` 连接在一起构造成 `type#id`
1616
17- By default, the `_uid` field is((("id field"))) stored (can be retrieved) and
18- indexed (searchable). The `_type` field((("type field")))((("index field")))((("uid field"))) is indexed but not stored,
19- and the `_id` and `_index` fields are neither indexed nor stored, meaning
20- they don't really exist.
17+ 默认情况下, `_uid` 字段是被((("id field"))) 存储(可取回)和索引(可搜索)的。
18+ `_type` 字段((("type field")))((("index field")))((("uid field"))) 被索引但是没有存储,
19+ `_id` 和 `_index` 字段则既没有被索引也没有被存储,这意味着它们并不是真实存在的。
2120
22- In spite of this, you can query the `_id` field as though it were a real
23- field. Elasticsearch uses the `_uid` field to derive the `_id` . Although you
24- can change the `index` and `store` settings for these fields, you almost
25- never need to do so.
21+ 尽管如此,你仍然可以像真实字段一样查询 `_id` 字段。Elasticsearch 使用 `_uid` 字段来派生出 `_id` 。
22+ 虽然你可以修改这些字段的 `index` 和 `store` 设置,但是基本上不需要这么做。
You can’t perform that action at this time.
0 commit comments