Toggle navigation
Toggle navigation
This project
Loading...
Sign in
yoho-search
/
yoho-search-consumer
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
Gino Zhang
2017-02-27 15:08:47 +0800
Commit
af006f3ae324f7edcd7196a1283420063aa6fb00
1 parent
642a3032
搜索无结果或搜索结果过少优化 suggest索引的keyword增加keyword_ik的字段
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
index/src/main/resources/esmapping/suggest.json
index/src/main/resources/esmapping/suggest.json
View file @
af006f3
...
...
@@ -13,6 +13,11 @@
"type"
:
"string"
,
"index"
:
"not_analyzed"
},
"keyword_ik"
:
{
"type"
:
"string"
,
"store"
:
false
,
"analyzer"
:
"ik_complex"
},
"keyword_pinyin"
:
{
"type"
:
"string"
,
"store"
:
false
,
...
...
Please
register
or
login
to post a comment