Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 57a2652

Browse files
committed
docs: update es-write-query-search.md
倒排索引的一些补充说明
1 parent 74209ac commit 57a2652

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

‎docs/high-concurrency/es-write-query-search.md‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,3 +117,8 @@ buffer 每次 refresh 一次,就会产生一个 `segment file`,所以默认
117117
另外,实用的倒排索引还可以记录更多的信息,比如文档频率信息,表示在文档集合中有多少个文档包含某个单词。
118118

119119
那么,有了倒排索引,搜索引擎可以很方便地响应用户的查询。比如用户输入查询 `Facebook`,搜索系统查找倒排索引,从中读出包含这个单词的文档,这些文档就是提供给用户的搜索结果。
120+
121+
要注意倒排索引的两个重要细节:
122+
123+
- 倒排索引中的所有词项对应一个或多个文档;
124+
- 倒排索引中的词项**根据字典顺序升序排列**

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /