File tree Expand file tree Collapse file tree 1 file changed +4
-13
lines changed Expand file tree Collapse file tree 1 file changed +4
-13
lines changed Original file line number Diff line number Diff line change 1
1
[[multi-field-search]]
2
- == Multifield Search
2
+ == 多字段搜索
3
3
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")))通常我们需要用相同或不同的字符串查询一个或多个字段,也就是说,需要对多个查询语句以及它们相关度评分进行合理的合并。
8
5
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 的用户。
14
7
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
+ 在本章,我们会介绍构造多语句搜索的工具及在特定场景下应该采用的解决方案。
You can’t perform that action at this time.
0 commit comments