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-03-21 11:06:44 +0800
Commit
b459592340ce99b4264a808657cb8f45e1b870aa
1 parent
842ddfd7
搜索提示支持:1.根据搜索结果聚合出提示词; 2.支持代码自定义的转换关系,如it
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
index/src/main/resources/esmapping/productindex.json
index/src/main/resources/esmapping/productindex.json
View file @
b459592
...
...
@@ -282,6 +282,14 @@
"store"
:
false
,
"analyzer"
:
"lowercase_keyword"
,
"search_analyzer"
:
"ik_complex"
},
"brandName_keyword"
:
{
"type"
:
"string"
,
"index"
:
"not_analyzed"
,
"doc_values"
:
true
,
"fielddata"
:
{
"format"
:
"doc_values"
}
}
},
"type"
:
"multi_field"
...
...
Please
register
or
login
to post a comment