-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
chapter10_part12:/070_Index_Mgmt/45_Default_Mapping.asciidoc #299
Conversation
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_` 映射之后创建的所有类型都将应用这些缺省的设置,除非类型在自己的映射中明确覆盖这些设置。 |
There was a problem hiding this comment.
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>>。 |
There was a problem hiding this comment.
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是指定映射的一种方法
LGTM |
LGTM |
…search-cn#299) * chapter10_part12:/070_Index_Mgmt/45_Default_Mapping.asciidoc * 二次review后修改 * 上次没修改完
No description provided.