搜索无结果或搜索结果过少优化 suggest索引的keyword增加keyword_ik的字段
Showing
1 changed file
with
5 additions
and
0 deletions
@@ -13,6 +13,11 @@ | @@ -13,6 +13,11 @@ | ||
13 | "type": "string", | 13 | "type": "string", |
14 | "index": "not_analyzed" | 14 | "index": "not_analyzed" |
15 | }, | 15 | }, |
16 | + "keyword_ik": { | ||
17 | + "type": "string", | ||
18 | + "store": false, | ||
19 | + "analyzer": "ik_complex" | ||
20 | + }, | ||
16 | "keyword_pinyin": { | 21 | "keyword_pinyin": { |
17 | "type": "string", | 22 | "type": "string", |
18 | "store": false, | 23 | "store": false, |
-
Please register or login to post a comment