瀏覽代碼

Docs: Reword note regarding _source for accuracy

Previously it suggested _source was always present, when that is not the case.

Closes #8491
dw 11 年之前
父節點
當前提交
ad408eee85
共有 1 個文件被更改,包括 4 次插入3 次删除
  1. 4 3
      docs/reference/mapping/types/core-types.asciidoc

+ 4 - 3
docs/reference/mapping/types/core-types.asciidoc

@@ -87,8 +87,10 @@ The following table lists all the attributes that can be used with the
 Defaults to the property/field name.
 
 |`store` |Set to `true` to actually store the field in the index, `false` to not
-store it. Defaults to `false` (note, the JSON document itself is stored,
-and it can be retrieved from it).
+store it. Since by default ElasticSearch stores all fields of the source
+document in the special `_source` field, this option is primarily useful when
+the `_source` field has been disabled in the type definition. Defaults to
+`false`.
 
 |`index` |Set to `analyzed` for the field to be indexed and searchable
 after being broken down into token using an analyzer. `not_analyzed`
@@ -637,4 +639,3 @@ doesn't exist in existing documents.
 Another important note is that new multi fields will be merged into the
 list of existing multi fields, so when adding new multi fields for a field
 previous added multi fields don't need to be specified.
-