Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
graces_es6
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
rank
graces_es6
Commits
a9f2b858
Commit
a9f2b858
authored
Nov 05, 2020
by
李小芳
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改mapping
parent
2ed6e167
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
doctor.json
trans2es/mapping/doctor.json
+4
-4
No files found.
trans2es/mapping/doctor.json
View file @
a9f2b858
...
@@ -47,10 +47,10 @@
...
@@ -47,10 +47,10 @@
"type"
:
"nested"
,
"type"
:
"nested"
,
"properties"
:{
"properties"
:{
"id"
:{
"type"
:
"long"
},
"id"
:{
"type"
:
"long"
},
"name"
:{
"type"
:
"text"
,
"analyzer"
:
"gm_ngram_index"
,
"search_analyzer"
:
"gm_default_search"
,
"omit_norms"
:
true
},
//名字
"name"
:{
"type"
:
"text"
,
"analyzer"
:
"gm_ngram_index"
,
"search_analyzer"
:
"gm_default_search"
},
//名字
"short_description"
:{
"type"
:
"text"
,
"analyzer"
:
"gm_ngram_index"
,
"search_analyzer"
:
"gm_default_search"
,
"omit_norms"
:
true
},
//一句话描述
"short_description"
:{
"type"
:
"text"
,
"analyzer"
:
"gm_ngram_index"
,
"search_analyzer"
:
"gm_default_search"
},
//一句话描述
"short_description_highlight"
:{
"type"
:
"text"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
,
"omit_norms"
:
true
},
//用来高亮显示
"short_description_highlight"
:{
"type"
:
"text"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//用来高亮显示
"short_description_pre"
:{
"type"
:
"text"
,
"analyzer"
:
"gm_ngram_index"
,
"search_analyzer"
:
"gm_default_search"
,
"
omit_norms"
:
true
,
"
index_options"
:
"offsets"
},
"short_description_pre"
:{
"type"
:
"text"
,
"analyzer"
:
"gm_ngram_index"
,
"search_analyzer"
:
"gm_default_search"
,
"index_options"
:
"offsets"
},
"all_text"
:{
"type"
:
"text"
,
"analyzer"
:
"gm_ngram_index"
,
"search_analyzer"
:
"gm_default_search"
},
//
把美购名称、描述、closure_tags、sku名称拼接到这个字段,方便搜索
"all_text"
:{
"type"
:
"text"
,
"analyzer"
:
"gm_ngram_index"
,
"search_analyzer"
:
"gm_default_search"
},
//
把美购名称、描述、closure_tags、sku名称拼接到这个字段,方便搜索
"doctor_score"
:{
"type"
:
"double"
},
//
该美购所属的医生整体得分*
70
%+品类得分*
30
%+CPC
"doctor_score"
:{
"type"
:
"double"
},
//
该美购所属的医生整体得分*
70
%+品类得分*
30
%+CPC
"doctor_score_v1"
:{
"type"
:
"double"
},
//
该美购所属的医生整体得分*
70
%+品类得分*
30
%
"doctor_score_v1"
:{
"type"
:
"double"
},
//
该美购所属的医生整体得分*
70
%+品类得分*
30
%
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment