Skip to content

Commit 8888721

Browse files
committed
Merge pull request #86 from richardwei2008/p2_chapter14/00_Intro
chapter14_part1: /110_Multi_Field_Search/00_Intro.asciidoc
2 parents 7680b32 + bf6351f commit 8888721

File tree

1 file changed

+4
-13
lines changed

1 file changed

+4
-13
lines changed
Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,8 @@
11
[[multi-field-search]]
2-
== Multifield Search
2+
== 多字段搜索
33

4-
Queries are seldom simple one-clause `match` queries. ((("multifield search"))) We frequently need to
5-
search for the same or different query strings in one or more fields, which
6-
means that we need to be able to combine multiple query clauses and their
7-
relevance scores in a way that makes sense.
4+
查询很少是简单一句话的 `match` 匹配查询。((("multifield search")))通常我们需要用相同或不同的字符串查询一个或多个字段,也就是说,需要对多个查询语句以及它们相关度评分进行合理的合并。
85

9-
Perhaps we're looking for a book called _War and Peace_ by an author called
10-
Leo Tolstoy. Perhaps we're searching the Elasticsearch documentation
11-
for ``minimum should match,'' which might be in the title or the body of a
12-
page. Or perhaps we're searching for users with first name John and last
13-
name Smith.
6+
有时候或许我们正查找作者 Leo Tolstoy 写的一本名为 _War and Peace_(战争与和平)的书。或许我们正用 “minimum should match” (最少应该匹配)的方式在文档中对标题或页面内容进行搜索,或许我们正在搜索所有名字为 John Smith 的用户。
147

15-
In this chapter, we present the available tools for constructing multiclause
16-
searches and how to figure out which solution you should apply to your
17-
particular use case.
8+
在本章,我们会介绍构造多语句搜索的工具及在特定场景下应该采用的解决方案。

0 commit comments

Comments
 (0)