-
Notifications
You must be signed in to change notification settings - Fork 1.5k
chapter10_part8:/070_Index_Mgmt/32_Metadata_all.asciidoc #300
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_part8:/070_Index_Mgmt/32_Metadata_all.asciidoc #300
Conversation
indexes the ((("metadata, document", "_all field")))((("_all field", sortas="all field")))values from all other fields as one big string. The `query_string` | ||
query clause (and searches performed as `?q=john`) defaults to searching in | ||
the `_all` field if no other field is specified. | ||
在 <<search-lite>> 中,我们介绍了 `_all` 字段:一个索引所有字段((("metadata, document", "_all field")))((("_all field", sortas="all field")))作为一个大字段的特殊字段。 `query_string` |
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.
- a special field that indexes the values from all other fields as one big string. 不知道翻译成“一个把其它字段值当作一个大字符串来索引的特殊字段”会不会好一点。【仅供参考】
analyzer has been set on the fields where the values originate. And | ||
like any `string` field, you can configure which analyzer the `_all` | ||
field should use: | ||
记住,`_all` 字段仅仅是一个((("analyzers", "configuring for all field"))) 进过分析的 `string` 字段。它使用默认分词器来分析它的值,不管这个值原本所在字段指定的分词器。就像所有 `string` 字段,你可以配置 `_all` 字段使用的分词器: |
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.
an analyzed string
field:一个分词的 string
字段?
`title`, `overview`, `summary`, and `tags`. Instead of disabling the `_all` | ||
field completely, disable `include_in_all` for all fields by default, | ||
and enable it only on the fields you choose: | ||
你可能想要保留 `_all` 字段作为一个全文字段,例如 `title`,`overview`,`summary` 和 `tags`。 相对于完成禁用 `_all` 字段,你可以为所有字段默认禁用 `include_in_all` 选项,仅在你选择的字段上启用: |
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.
- 相对于完成禁用----》完全
- Instead of :并非?
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.
Instead of 并非感觉读得不通顺
LGTM |
is a shotgun approach to search. By querying individual fields, you have more | ||
flexbility, power, and fine-grained control over which results are considered | ||
to be most relevant. | ||
随着应用的发展,搜索需求变得更加明确,你会发现自己使用 `_all` 字段越来越少。 `_all` 字段是搜索的应急之策。通过查询指定字段,你可以更加灵活,强大和精准的控制搜索结果,提高相关性。 |
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.
使用 _all
字段越来越少 -->越来越少使用_all
字段;“你可以更加灵活,强大和精准的控制搜索结果,提高相关性。”这么理解好像也没错,但我个人觉得翻译成"你的查询更加灵活、强大,你也可以对相关性最高的搜索结果进行更细粒度的控制"比较符合原意。你斟酌一下吧,不是必改~
`title`, `overview`, `summary`, and `tags`. Instead of disabling the `_all` | ||
field completely, disable `include_in_all` for all fields by default, | ||
and enable it only on the fields you choose: | ||
你可能想要保留 `_all` 字段作为一个全文字段,例如 `title`,`overview`,`summary` 和 `tags`。 相对于完全禁用 `_all` 字段,你可以为所有字段默认禁用 `include_in_all` 选项,仅在你选择的字段上启用: |
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.
你可能想要保留 _all
字段作为一个全文字段,例如 title
,overview
,summary
和 tags
。-->你可能想要保留 _all
字段作为一个只包含某些特定字段的全文字段,例如只包含 title
,overview
,summary
和 tags
。;
analyzer has been set on the fields where the values originate. And | ||
like any `string` field, you can configure which analyzer the `_all` | ||
field should use: | ||
记住,`_all` 字段仅仅是一个((("analyzers", "configuring for all field"))) 进过分词的 `string` 字段。它使用默认分词器来分析它的值,不管这个值原本所在字段指定的分词器。就像所有 `string` 字段,你可以配置 `_all` 字段使用的分词器: |
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.
进过分词的 --》 经过分词的
LGTM |
LGTM |
…ch-cn#300) * chapter10_part8:/070_Index_Mgmt/32_Metadata_all.asciidoc * review后修改 * 二次review后修改
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.
LGTM
@candythinking 已经 merge 的不用 review 了,主要是open 的 pr 啦 |
No description provided.