# 概念
- 正排索引——目录到文档
- 倒排索引——文档到目录
# 分词器Analyzer
分词-Analysis
默认分词器standard Analyzer
GET _analyze
{
"analyzer": "ik_smart",
"text":"中国"
}
GET _analyze
{
"analyzer": "ik_max_word",
"text":"中国的"
}
GET _analyze
{
"analyzer": "keyword",
"text":"中国的"
}
GET _analyze
{
"analyzer": "standard",
"text":"中国的"
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
中文分词器
- IK
- THULAC