Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chapter10_part12:/070_Index_Mgmt/45_Default_Mapping.asciidoc #299

Merged
merged 3 commits into from
Oct 21, 2016

Conversation

yichao2015
Copy link

No description provided.

@leo650
Copy link

leo650 commented Sep 22, 2016

LGTM

`_default_` mapping acts as a template for new types. All types created
_after_ the `_default_` mapping will include all of these default settings,
unless explicitly overridden in the type mapping itself.
通常,一个索引中的所有类型共享相似的字段和设置。 ((("mapping (types)", "default")))((("default mapping"))) `_default_` 映射更加方便地指定通用设置,而不是每次创建新类型时都要重复设置。 `_default_` 映射是新类型的模板。在设置 `_default_` 映射之后创建的所有类型都将应用这些缺省的设置,除非类型在自己的映射中明确覆盖这些设置。

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

相似的--》相同的;这样比较严谨,而且similar查了一下也可以有“同样的”的意思

@@ -28,5 +22,4 @@ PUT /my_index
// SENSE: 070_Index_Mgmt/45_Default_mapping.json


The `_default_` mapping can also be a good place to specify index-wide
<<dynamic-templates,dynamic templates>>.
`_default_` 映射也是一个指定索引范围的好方法 <<dynamic-templates,dynamic templates>>。

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

指定索引范围的好方法 <<dynamic-templates,dynamic templates>>。-->指定索引 <<dynamic-templates,dynamic templates>> 的好方法;这样比较符合语义,dynamic-templates是指定映射的一种方法

@tangmisi
Copy link

LGTM

@Geolem
Copy link

Geolem commented Oct 19, 2016

LGTM

@medcl medcl merged commit 5aa3bbe into elasticsearch-cn:cn Oct 21, 2016
tangmisi pushed a commit to tangmisi/elasticsearch-definitive-guide that referenced this pull request Oct 31, 2016
…search-cn#299)

* chapter10_part12:/070_Index_Mgmt/45_Default_Mapping.asciidoc

* 二次review后修改

* 上次没修改完
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants