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
c34cb139
Commit
c34cb139
authored
Dec 11, 2019
by
lixiaofang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
es6对应的新的gaia的服务
parent
8c80e601
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
38 additions
and
38 deletions
+38
-38
service.json
trans2es/mapping/service.json
+0
-0
service_ngram.json
trans2es/mapping/service_ngram.json
+0
-0
service_norms_disable.json
trans2es/mapping/service_norms_disable.json
+0
-0
sku.json
trans2es/mapping/sku.json
+19
-19
sku_norms_disable.json
trans2es/mapping/sku_norms_disable.json
+19
-19
No files found.
trans2es/mapping/service.json
View file @
c34cb139
This diff is collapsed.
Click to expand it.
trans2es/mapping/service_ngram.json
View file @
c34cb139
This diff is collapsed.
Click to expand it.
trans2es/mapping/service_norms_disable.json
View file @
c34cb139
This diff is collapsed.
Click to expand it.
trans2es/mapping/sku.json
View file @
c34cb139
...
...
@@ -2,28 +2,28 @@
"dynamic"
:
"strict"
,
"properties"
:
{
"id"
:
{
"type"
:
"long"
},
"name"
:
{
"type"
:
"string
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
"name"
:
{
"type"
:
"text
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//
service
fields
for
compatible
service
mapping
"service_id"
:
{
"type"
:
"long"
},
"service_name"
:
{
"type"
:
"string
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
"short_description"
:{
"type"
:
"
string
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
"detail_description"
:{
"type"
:
"
string
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
"channel"
:{
"type"
:
"string"
,
"index"
:
"not_analyze
d"
},
//频道
"service_name"
:
{
"type"
:
"text
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
"short_description"
:{
"type"
:
"
text
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
"detail_description"
:{
"type"
:
"
text
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
"channel"
:{
"type"
:
"text"
,
"analyzer"
:
"keywor
d"
},
//频道
"is_can_be_sold"
:{
"type"
:
"boolean"
},
//是否还有库存
"start_time"
:{
"type"
:
"date"
,
"format"
:
"date_time_no_millis"
},
//上架时间
"end_time"
:{
"type"
:
"date"
,
"format"
:
"date_time_no_millis"
},
//下架时间
"closure_tag_ids"
:{
"type"
:
"long"
},
//传递闭包tag
id列表
"closure_tags"
:{
"type"
:
"
string
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//tag
"closure_tags"
:{
"type"
:
"
text
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//tag
"ordering"
:{
"type"
:
"long"
},
//展示顺序(小的在前,排序用)
"smart_rank2"
:{
"type"
:
"double"
},
//智能排序rank(大的在前)
"rating"
:{
"type"
:
"double"
,
"null_value"
:
0.0
},
//评价(
0-5
浮点)
"is_sink"
:{
"type"
:
"boolean"
},
//是否下沉
"is_online"
:{
"type"
:
"boolean"
},
//是否上线
"merchant_doctor_id"
:
{
"type"
:
"string
"
},
//商户的医生id
"merchant_doctor_id"
:
{
"type"
:
"text
"
},
//商户的医生id
"share_get_cashback"
:{
"type"
:
"boolean"
},
//是否参与分享返现
"tip"
:
{
"type"
:
"string"
,
"index"
:
"not_analyze
d"
},
//提示标签
"tip"
:
{
"type"
:
"text"
,
"analyzer"
:
"keywor
d"
},
//提示标签
"is_stage"
:{
"type"
:
"boolean"
,
"null_value"
:
false
},
//是否支持分期付款
"is_fenqi"
:{
"type"
:
"boolean"
,
"null_value"
:
false
},
//另一种是否支持分期付款
"gift_rank"
:{
"type"
:
"long"
},
//
红包数量
...
...
@@ -53,28 +53,28 @@
"doctor"
:{
//关联医生
"type"
:
"object"
,
"properties"
:{
"id"
:{
"type"
:
"
string"
,
"index"
:
"not_analyze
d"
},
"title"
:{
"type"
:
"
string"
,
"index"
:
"not_analyze
d"
},
"name"
:{
"type"
:
"
string
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//医生名
"id"
:{
"type"
:
"
text"
,
"analyzer"
:
"keywor
d"
},
"title"
:{
"type"
:
"
text"
,
"analyzer"
:
"keywor
d"
},
"name"
:{
"type"
:
"
text
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//医生名
"famous_doctor"
:{
"type"
:
"boolean"
,
"null_value"
:
false
},
//是否名医
"hospital"
:{
"type"
:
"object"
,
"properties"
:{
"id"
:{
"type"
:
"
string"
,
"index"
:
"not_analyze
d"
},
"name"
:{
"type"
:
"
string
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//医院名
"hospital_type"
:{
"type"
:
"
string"
,
"index"
:
"not_analyze
d"
},
//医院类型
,
0
公立
,
1
民营
"id"
:{
"type"
:
"
text"
,
"analyzer"
:
"keywor
d"
},
"name"
:{
"type"
:
"
text
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//医院名
"hospital_type"
:{
"type"
:
"
text"
,
"analyzer"
:
"keywor
d"
},
//医院类型
,
0
公立
,
1
民营
"city_tag_id"
:{
"type"
:
"long"
},
//城市tagID
"city_name"
:{
"type"
:
"
string
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//城市名
"city_name"
:{
"type"
:
"
text
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//城市名
"city_province_tag_id"
:{
"type"
:
"long"
},
//省份tagID
"city_province_name"
:{
"type"
:
"
string
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//省份名
"city_province_name"
:{
"type"
:
"
text
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//省份名
"city_province_country_tag_id"
:{
"type"
:
"long"
},
//国家tagID
"city_count"
:{
"type"
:
"long"
},
//开设医院城市数
"chain_count"
:{
"type"
:
"long"
},
//连锁医院开设数
"area_count"
:{
"type"
:
"long"
},
//医院平米
"is_oversea"
:{
"type"
:
"boolean"
},
"hospital_type2"
:{
"type"
:
"
string"
,
"index"
:
"not_analyze
d"
},
//医院类型
,
0
公立
,
1
民营
,
9
海外
"hospital_type2"
:{
"type"
:
"
text"
,
"analyzer"
:
"keywor
d"
},
//医院类型
,
0
公立
,
1
民营
,
9
海外
"is_high_quality"
:{
"type"
:
"boolean"
},
//是否精品诊所
"officer_name"
:{
"type"
:
"
string
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
}
//机构管理者名称
"officer_name"
:{
"type"
:
"
text
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
}
//机构管理者名称
}
}
}
...
...
@@ -96,7 +96,7 @@
"type"
:
"object"
,
"properties"
:{
"tag_id"
:{
"type"
:
"long"
},
"name"
:{
"type"
:
"string"
,
"index"
:
"not_analyze
d"
}
"name"
:{
"type"
:
"text"
,
"analyzer"
:
"keywor
d"
}
}
}
}
...
...
trans2es/mapping/sku_norms_disable.json
View file @
c34cb139
...
...
@@ -2,28 +2,28 @@
"dynamic"
:
"strict"
,
"properties"
:
{
"id"
:
{
"type"
:
"long"
},
"name"
:
{
"type"
:
"string
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
,
"norms"
:{
"enabled"
:
false
}},
"name"
:
{
"type"
:
"text
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
,
"norms"
:{
"enabled"
:
false
}},
//
service
fields
for
compatible
service
mapping
"service_id"
:
{
"type"
:
"long"
},
"service_name"
:
{
"type"
:
"string
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
,
"norms"
:{
"enabled"
:
false
}},
"short_description"
:{
"type"
:
"
string
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
,
"norms"
:{
"enabled"
:
false
}},
"detail_description"
:{
"type"
:
"
string
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
,
"norms"
:{
"enabled"
:
false
}},
"channel"
:{
"type"
:
"string"
,
"index"
:
"not_analyze
d"
},
//频道
"service_name"
:
{
"type"
:
"text
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
,
"norms"
:{
"enabled"
:
false
}},
"short_description"
:{
"type"
:
"
text
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
,
"norms"
:{
"enabled"
:
false
}},
"detail_description"
:{
"type"
:
"
text
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
,
"norms"
:{
"enabled"
:
false
}},
"channel"
:{
"type"
:
"text"
,
"analyzer"
:
"keywor
d"
},
//频道
"is_can_be_sold"
:{
"type"
:
"boolean"
},
//是否还有库存
"start_time"
:{
"type"
:
"date"
,
"format"
:
"date_time_no_millis"
},
//上架时间
"end_time"
:{
"type"
:
"date"
,
"format"
:
"date_time_no_millis"
},
//下架时间
"closure_tag_ids"
:{
"type"
:
"long"
},
//传递闭包tag
id列表
"closure_tags"
:{
"type"
:
"
string
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
,
"norms"
:{
"enabled"
:
false
}},
//tag
"closure_tags"
:{
"type"
:
"
text
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
,
"norms"
:{
"enabled"
:
false
}},
//tag
"ordering"
:{
"type"
:
"long"
},
//展示顺序(小的在前,排序用)
"smart_rank2"
:{
"type"
:
"double"
},
//智能排序rank(大的在前)
"rating"
:{
"type"
:
"double"
,
"null_value"
:
0.0
},
//评价(
0-5
浮点)
"is_sink"
:{
"type"
:
"boolean"
},
//是否下沉
"is_online"
:{
"type"
:
"boolean"
},
//是否上线
"merchant_doctor_id"
:
{
"type"
:
"string
"
},
//商户的医生id
"merchant_doctor_id"
:
{
"type"
:
"text
"
},
//商户的医生id
"share_get_cashback"
:{
"type"
:
"boolean"
},
//是否参与分享返现
"tip"
:
{
"type"
:
"string"
,
"index"
:
"not_analyze
d"
},
//提示标签
"tip"
:
{
"type"
:
"text"
,
"analyzer"
:
"keywor
d"
},
//提示标签
"is_stage"
:{
"type"
:
"boolean"
,
"null_value"
:
false
},
//是否支持分期付款
"is_fenqi"
:{
"type"
:
"boolean"
,
"null_value"
:
false
},
//另一种是否支持分期付款
"gift_rank"
:{
"type"
:
"long"
},
//
红包数量
...
...
@@ -53,28 +53,28 @@
"doctor"
:{
//关联医生
"type"
:
"object"
,
"properties"
:{
"id"
:{
"type"
:
"
string"
,
"index"
:
"not_analyze
d"
},
"title"
:{
"type"
:
"
string"
,
"index"
:
"not_analyze
d"
},
"name"
:{
"type"
:
"
string
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
,
"norms"
:{
"enabled"
:
false
}},
//医生名
"id"
:{
"type"
:
"
text"
,
"analyzer"
:
"keywor
d"
},
"title"
:{
"type"
:
"
text"
,
"analyzer"
:
"keywor
d"
},
"name"
:{
"type"
:
"
text
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
,
"norms"
:{
"enabled"
:
false
}},
//医生名
"famous_doctor"
:{
"type"
:
"boolean"
,
"null_value"
:
false
},
//是否名医
"hospital"
:{
"type"
:
"object"
,
"properties"
:{
"id"
:{
"type"
:
"
string"
,
"index"
:
"not_analyze
d"
},
"name"
:{
"type"
:
"
string
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
,
"norms"
:{
"enabled"
:
false
}},
//医院名
"hospital_type"
:{
"type"
:
"
string"
,
"index"
:
"not_analyze
d"
},
//医院类型
,
0
公立
,
1
民营
"id"
:{
"type"
:
"
text"
,
"analyzer"
:
"keywor
d"
},
"name"
:{
"type"
:
"
text
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
,
"norms"
:{
"enabled"
:
false
}},
//医院名
"hospital_type"
:{
"type"
:
"
text"
,
"analyzer"
:
"keywor
d"
},
//医院类型
,
0
公立
,
1
民营
"city_tag_id"
:{
"type"
:
"long"
},
//城市tagID
"city_name"
:{
"type"
:
"
string
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
,
"norms"
:{
"enabled"
:
false
}},
//城市名
"city_name"
:{
"type"
:
"
text
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
,
"norms"
:{
"enabled"
:
false
}},
//城市名
"city_province_tag_id"
:{
"type"
:
"long"
},
//省份tagID
"city_province_name"
:{
"type"
:
"
string
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
,
"norms"
:{
"enabled"
:
false
}},
//省份名
"city_province_name"
:{
"type"
:
"
text
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
,
"norms"
:{
"enabled"
:
false
}},
//省份名
"city_province_country_tag_id"
:{
"type"
:
"long"
},
//国家tagID
"city_count"
:{
"type"
:
"long"
},
//开设医院城市数
"chain_count"
:{
"type"
:
"long"
},
//连锁医院开设数
"area_count"
:{
"type"
:
"long"
},
//医院平米
"is_oversea"
:{
"type"
:
"boolean"
},
"hospital_type2"
:{
"type"
:
"
string"
,
"index"
:
"not_analyze
d"
},
//医院类型
,
0
公立
,
1
民营
,
9
海外
"hospital_type2"
:{
"type"
:
"
text"
,
"analyzer"
:
"keywor
d"
},
//医院类型
,
0
公立
,
1
民营
,
9
海外
"is_high_quality"
:{
"type"
:
"boolean"
},
//是否精品诊所
"officer_name"
:{
"type"
:
"
string
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
,
"norms"
:{
"enabled"
:
false
}}
//机构管理者名称
"officer_name"
:{
"type"
:
"
text
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
,
"norms"
:{
"enabled"
:
false
}}
//机构管理者名称
}
}
}
...
...
@@ -96,7 +96,7 @@
"type"
:
"object"
,
"properties"
:{
"tag_id"
:{
"type"
:
"long"
},
"name"
:{
"type"
:
"string"
,
"index"
:
"not_analyze
d"
}
"name"
:{
"type"
:
"text"
,
"analyzer"
:
"keywor
d"
}
}
}
...
...
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