Skip to content

Update 45_Mapping.asciidoc #598

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

Open
wants to merge 1 commit into
base: cn
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion 052_Mapping_Analysis/45_Mapping.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ Elasticsearch 根据我们索引的文档,为((("properties")))域(称为 _属

[NOTE]
================================================
尽管你可以 _增加_ 一个存在的映射,你不能 _修改_ 存在的域映射。如果一个域的映射已经存在,那么该域的数据可能已经被索引。如果你意图修改这个域的映射,索引的数据可能会出错,不能被正常的搜索。
尽管你可以 _增加_ (域映射到)一个存在的映射,但你不能 _修改_ 存在的域映射。如果一个域的映射已经存在,那么该域的数据可能已经被索引。如果你意图修改这个域的映射,索引的数据可能会出错,不能被正常的搜索。
================================================

我们可以更新一个映射来添加一个新域,但不能将一个存在的域从 `analyzed` 改为 `not_analyzed` 。
Expand Down