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
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
140 additions
and
140 deletions
+140
-140
service.json
trans2es/mapping/service.json
+41
-41
service_ngram.json
trans2es/mapping/service_ngram.json
+31
-31
service_norms_disable.json
trans2es/mapping/service_norms_disable.json
+30
-30
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
...
...
@@ -3,17 +3,17 @@
"properties"
:
{
"id"
:{
"type"
:
"long"
},
"name"
:{
"type"
:
"
string
"
,
"analyzer"
:
"gm_ngram_index"
,
"search_analyzer"
:
"gm_default_search"
,
"norms"
:{
"enabled"
:
false
}},
//名称
"name"
:{
"type"
:
"
text
"
,
"analyzer"
:
"gm_ngram_index"
,
"search_analyzer"
:
"gm_default_search"
,
"norms"
:{
"enabled"
:
false
}},
//名称
"pv"
:
{
"type"
:
"long"
},
//
12
点前取前天pv
,
12
点后取昨日pv
"channel"
:{
"type"
:
"
string"
,
"index"
:
"not_analyze
d"
},
//频道
"channel"
:{
"type"
:
"
text"
,
"analyzer"
:
"keywor
d"
},
//频道
"item_wiki_tags"
:{
"type"
:
"
string
"
,
"analyzer"
:
"gm_ngram_index"
,
"search_analyzer"
:
"gm_default_search"
,
"norms"
:{
"enabled"
:
false
}},
//三级tag
"item_wiki_tags"
:{
"type"
:
"
text
"
,
"analyzer"
:
"gm_ngram_index"
,
"search_analyzer"
:
"gm_default_search"
,
"norms"
:{
"enabled"
:
false
}},
//三级tag
"closure_tag_ids"
:{
"type"
:
"long"
},
//传递闭包tag
id列表
"closure_tags"
:{
"type"
:
"
string
"
,
"analyzer"
:
"gm_ngram_index"
,
"search_analyzer"
:
"gm_default_search"
,
"norms"
:{
"enabled"
:
false
}},
//tag
"closure_tags"
:{
"type"
:
"
text
"
,
"analyzer"
:
"gm_ngram_index"
,
"search_analyzer"
:
"gm_default_search"
,
"norms"
:{
"enabled"
:
false
}},
//tag
"closure_tags_by_standard_analyzer"
:
{
"type"
:
"string
"
,
"type"
:
"text
"
,
"norms"
:
{
"enabled"
:
false
},
"analyzer"
:
"standard"
,
"search_analyzer"
:
"standard"
...
...
@@ -33,33 +33,33 @@
"ticket_sink_start_time_long"
:{
"type"
:
"long"
},
"ticket_sink_end_time_long"
:{
"type"
:
"long"
},
"is_can_be_sold"
:{
"type"
:
"boolean"
},
//是否还有库存
"short_description"
:{
"type"
:
"
string
"
,
"analyzer"
:
"gm_ngram_index"
,
"search_analyzer"
:
"gm_default_search"
,
"norms"
:{
"enabled"
:
false
}},
"short_description"
:{
"type"
:
"
text
"
,
"analyzer"
:
"gm_ngram_index"
,
"search_analyzer"
:
"gm_default_search"
,
"norms"
:{
"enabled"
:
false
}},
"short_description_by_standard_analyzer"
:
{
"type"
:
"string
"
,
"type"
:
"text
"
,
"norms"
:
{
"enabled"
:
false
},
"analyzer"
:
"standard"
,
"search_analyzer"
:
"standard"
},
"short_description_pre"
:{
"type"
:
"
string
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
,
"norms"
:{
"enabled"
:
false
}},
"short_description_pre"
:{
"type"
:
"
text
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
,
"norms"
:{
"enabled"
:
false
}},
"detail_description"
:{
"type"
:
"
string
"
,
"analyzer"
:
"gm_ngram_index"
,
"search_analyzer"
:
"gm_default_search"
,
"norms"
:{
"enabled"
:
false
}},
"detail_description"
:{
"type"
:
"
text
"
,
"analyzer"
:
"gm_ngram_index"
,
"search_analyzer"
:
"gm_default_search"
,
"norms"
:{
"enabled"
:
false
}},
"location"
:{
"type"
:
"geo_point"
},
"is_stage"
:{
"type"
:
"boolean"
,
"null_value"
:
false
},
//是否支持分期付款
"is_fenqi"
:{
"type"
:
"boolean"
,
"null_value"
:
false
},
//另一种是否支持分期付款
"merchant_doctor_id"
:
{
"type"
:
"string
"
},
//商户的医生id
"merchant_doctor_id"
:
{
"type"
:
"text
"
},
//商户的医生id
//
[
DEPRECATED
]
"hospital"
:{
//直接关联医院
"type"
:
"object"
,
"properties"
:{
"id"
:{
"type"
:
"
string"
,
"index"
:
"not_analyze
d"
},
"name"
:{
"type"
:
"
string
"
,
"analyzer"
:
"gm_ngram_index"
,
"search_analyzer"
:
"gm_default_search"
,
"norms"
:{
"enabled"
:
false
}},
//医院名
"id"
:{
"type"
:
"
text"
,
"analyzer"
:
"keywor
d"
},
"name"
:{
"type"
:
"
text
"
,
"analyzer"
:
"gm_ngram_index"
,
"search_analyzer"
:
"gm_default_search"
,
"norms"
:{
"enabled"
:
false
}},
//医院名
"city_tag_id"
:{
"type"
:
"long"
},
//城市tagID
"city_name"
:{
"type"
:
"
string
"
,
"analyzer"
:
"gm_ngram_index"
,
"search_analyzer"
:
"gm_default_search"
,
"norms"
:{
"enabled"
:
false
}},
//城市名
"city_name"
:{
"type"
:
"
text
"
,
"analyzer"
:
"gm_ngram_index"
,
"search_analyzer"
:
"gm_default_search"
,
"norms"
:{
"enabled"
:
false
}},
//城市名
"city_province_tag_id"
:{
"type"
:
"long"
},
//省份tagID
"city_province_name"
:{
"type"
:
"
string
"
,
"analyzer"
:
"gm_ngram_index"
,
"search_analyzer"
:
"gm_default_search"
,
"norms"
:{
"enabled"
:
false
}},
//省份名
"city_province_name"
:{
"type"
:
"
text
"
,
"analyzer"
:
"gm_ngram_index"
,
"search_analyzer"
:
"gm_default_search"
,
"norms"
:{
"enabled"
:
false
}},
//省份名
"city_province_country_tag_id"
:{
"type"
:
"long"
}
}
},
...
...
@@ -67,11 +67,11 @@
"doctor"
:{
//关联医生
"type"
:
"object"
,
"properties"
:{
"id"
:{
"type"
:
"
string"
,
"index"
:
"not_analyze
d"
},
"title"
:{
"type"
:
"
string"
,
"index"
:
"not_analyze
d"
},
"name"
:{
"type"
:
"
string
"
,
"analyzer"
:
"gm_ngram_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_ngram_index"
,
"search_analyzer"
:
"gm_default_search"
,
"norms"
:{
"enabled"
:
false
}},
//医生名
"name_by_standard_analyzer"
:
{
"type"
:
"string
"
,
"type"
:
"text
"
,
"norms"
:
{
"enabled"
:
false
},
"analyzer"
:
"standard"
,
"search_analyzer"
:
"standard"
...
...
@@ -80,28 +80,28 @@
"hospital"
:{
"type"
:
"object"
,
"properties"
:{
"id"
:{
"type"
:
"
string"
,
"index"
:
"not_analyze
d"
},
"name"
:{
"type"
:
"
string
"
,
"analyzer"
:
"gm_ngram_index"
,
"search_analyzer"
:
"gm_default_search"
,
"norms"
:{
"enabled"
:
false
}},
//医院名
"id"
:{
"type"
:
"
text"
,
"analyzer"
:
"keywor
d"
},
"name"
:{
"type"
:
"
text
"
,
"analyzer"
:
"gm_ngram_index"
,
"search_analyzer"
:
"gm_default_search"
,
"norms"
:{
"enabled"
:
false
}},
//医院名
"name_by_standard_analyzer"
:
{
"type"
:
"string
"
,
"type"
:
"text
"
,
"norms"
:
{
"enabled"
:
false
},
"analyzer"
:
"standard"
,
"search_analyzer"
:
"standard"
},
"hospital_type"
:{
"type"
:
"
string"
,
"index"
:
"not_analyze
d"
},
//医院类型
,
0
公立
,
1
民营
"hospital_type"
:{
"type"
:
"
text"
,
"analyzer"
:
"keywor
d"
},
//医院类型
,
0
公立
,
1
民营
"city_tag_id"
:{
"type"
:
"long"
},
//城市tagID
"city_name"
:{
"type"
:
"
string
"
,
"analyzer"
:
"gm_ngram_index"
,
"search_analyzer"
:
"gm_default_search"
,
"norms"
:{
"enabled"
:
false
}},
//城市名
"city_name"
:{
"type"
:
"
text
"
,
"analyzer"
:
"gm_ngram_index"
,
"search_analyzer"
:
"gm_default_search"
,
"norms"
:{
"enabled"
:
false
}},
//城市名
"city_province_tag_id"
:{
"type"
:
"long"
},
//省份tagID
"city_province_name"
:{
"type"
:
"
string
"
,
"analyzer"
:
"gm_ngram_index"
,
"search_analyzer"
:
"gm_default_search"
,
"norms"
:{
"enabled"
:
false
}},
//省份名
"city_province_name"
:{
"type"
:
"
text
"
,
"analyzer"
:
"gm_ngram_index"
,
"search_analyzer"
:
"gm_default_search"
,
"norms"
:{
"enabled"
:
false
}},
//省份名
"city_province_country_tag_id"
:{
"type"
:
"long"
},
//国家tagID
"city_province_name_by_standard_analyzer"
:
{
"type"
:
"string
"
,
"type"
:
"text
"
,
"norms"
:
{
"enabled"
:
false
},
"analyzer"
:
"standard"
,
"search_analyzer"
:
"standard"
},
"city_name_by_standard_analyzer"
:
{
"type"
:
"string
"
,
"type"
:
"text
"
,
"norms"
:
{
"enabled"
:
false
},
"analyzer"
:
"standard"
,
"search_analyzer"
:
"standard"
...
...
@@ -110,11 +110,11 @@
"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_ngram_index"
,
"search_analyzer"
:
"gm_default_search"
,
"norms"
:{
"enabled"
:
false
}},
//机构管理者名称
"officer_name"
:{
"type"
:
"
text
"
,
"analyzer"
:
"gm_ngram_index"
,
"search_analyzer"
:
"gm_default_search"
,
"norms"
:{
"enabled"
:
false
}},
//机构管理者名称
"officer_name_by_standard_analyzer"
:
{
"type"
:
"string
"
,
"type"
:
"text
"
,
"norms"
:
{
"enabled"
:
false
},
"analyzer"
:
"standard"
,
"search_analyzer"
:
"standard"
...
...
@@ -188,9 +188,9 @@
"start_time"
:{
"type"
:
"date"
,
"format"
:
"date_time_no_millis"
},
"end_time"
:{
"type"
:
"date"
,
"format"
:
"date_time_no_millis"
},
"price"
:{
"type"
:
"long"
},
"name"
:{
"type"
:
"
string
"
,
"analyzer"
:
"gm_ngram_index"
,
"search_analyzer"
:
"gm_default_search"
,
"norms"
:{
"enabled"
:
false
}},
"name"
:{
"type"
:
"
text
"
,
"analyzer"
:
"gm_ngram_index"
,
"search_analyzer"
:
"gm_default_search"
,
"norms"
:{
"enabled"
:
false
}},
"name_by_standard_analyzer"
:
{
"type"
:
"string
"
,
"type"
:
"text
"
,
"norms"
:
{
"enabled"
:
false
},
"analyzer"
:
"standard"
,
"search_analyzer"
:
"standard"
...
...
@@ -208,7 +208,7 @@
"start_time"
:{
"type"
:
"date"
,
"format"
:
"date_time_no_millis"
},
"end_time"
:{
"type"
:
"date"
,
"format"
:
"date_time_no_millis"
},
"price"
:{
"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
}},
"sku_rank"
:{
"type"
:
"double"
},
"price_type"
:{
"type"
:
"long"
},
"parent_id"
:{
"type"
:
"long"
}
...
...
@@ -263,17 +263,17 @@
}
},
"advertise_position"
:{
"type"
:
"
string"
,
"index"
:
"not_analyze
d"
},
//广告位置
用于加速过滤
"advertise_searchwords"
:{
"type"
:
"
string"
,
"index"
:
"not_analyze
d"
},
//所有搜索词
用于加速过滤
"advertise_position"
:{
"type"
:
"
text"
,
"analyzer"
:
"keywor
d"
},
//广告位置
用于加速过滤
"advertise_searchwords"
:{
"type"
:
"
text"
,
"analyzer"
:
"keywor
d"
},
//所有搜索词
用于加速过滤
"advertise_info"
:{
//广告具体信息
"type"
:
"object"
,
"enabled"
:
false
,
"properties"
:{
"id"
:{
"type"
:
"long"
},
//ID
"position"
:{
"type"
:
"
string"
,
"index"
:
"not_analyze
d"
},
//list
of
位置
"position"
:{
"type"
:
"
text"
,
"analyzer"
:
"keywor
d"
},
//list
of
位置
"start_time_epoch"
:{
"type"
:
"long"
},
//开始时间
"end_time_epoch"
:{
"type"
:
"long"
},
//结束时间
"searchwords"
:{
"type"
:
"
string"
,
"index"
:
"not_analyze
d"
},
//搜索词(如果有)
"searchwords"
:{
"type"
:
"
text"
,
"analyzer"
:
"keywor
d"
},
//搜索词(如果有)
"ordering"
:{
"type"
:
"long"
},
"ad_tag_ids"
:{
"type"
:
"long"
},
//
广告
tag_id
"show_city_tags"
:{
"type"
:
"long"
}
//
广告显示城市
...
...
@@ -283,7 +283,7 @@
"is_insurance"
:
{
"type"
:
"boolean"
},
//是否支持保险
"tip"
:
{
"type"
:
"string"
,
"index"
:
"not_analyze
d"
},
//提示标签
"tip"
:
{
"type"
:
"text"
,
"analyzer"
:
"keywor
d"
},
//提示标签
"ordered_user_ids"
:{
"type"
:
"long"
},
//购买过的用户ID
...
...
@@ -294,14 +294,14 @@
"query_pv"
:
{
"type"
:
"nested"
,
"properties"
:{
"query"
:{
"type"
:
"
string"
,
"index"
:
"not_analyze
d"
},
"query"
:{
"type"
:
"
text"
,
"analyzer"
:
"keywor
d"
},
"pv"
:{
"type"
:
"long"
}
}
},
"max_query_pv"
:{
"type"
:
"nested"
,
"properties"
:{
"query"
:{
"type"
:
"
string"
,
"index"
:
"not_analyze
d"
},
"query"
:{
"type"
:
"
text"
,
"analyzer"
:
"keywor
d"
},
"pv"
:{
"type"
:
"long"
}
}
},
...
...
@@ -318,7 +318,7 @@
"type"
:
"object"
,
"properties"
:{
"tag_id"
:{
"type"
:
"long"
},
"name"
:{
"type"
:
"string"
,
"index"
:
"not_analyze
d"
}
"name"
:{
"type"
:
"text"
,
"analyzer"
:
"keywor
d"
}
}
},
...
...
@@ -335,7 +335,7 @@
"hospital_customize_sort"
:
{
"type"
:
"long"
},
//是否是cpc
"is_promote"
:{
"type"
:
"boolean"
},
"fresh_closure_tags"
:
{
"type"
:
"
string
"
,
"analyzer"
:
"gm_ngram_index"
,
"search_analyzer"
:
"gm_default_search"
,
"norms"
:{
"enabled"
:
false
}}
//tag
"fresh_closure_tags"
:
{
"type"
:
"
text
"
,
"analyzer"
:
"gm_ngram_index"
,
"search_analyzer"
:
"gm_default_search"
,
"norms"
:{
"enabled"
:
false
}}
//tag
}
}
trans2es/mapping/service_ngram.json
View file @
c34cb139
...
...
@@ -3,15 +3,15 @@
"properties"
:
{
"id"
:{
"type"
:
"long"
},
"name"
:{
"type"
:
"
string
"
,
"analyzer"
:
"gm_ngram_index"
,
"search_analyzer"
:
"gm_default_search"
,
"norms"
:{
"enabled"
:
false
}},
//名称
"name"
:{
"type"
:
"
text
"
,
"analyzer"
:
"gm_ngram_index"
,
"search_analyzer"
:
"gm_default_search"
,
"norms"
:{
"enabled"
:
false
}},
//名称
"pv"
:
{
"type"
:
"long"
},
//
12
点前取前天pv
,
12
点后取昨日pv
"channel"
:{
"type"
:
"
string"
,
"index"
:
"not_analyze
d"
},
//频道
"channel"
:{
"type"
:
"
text"
,
"analyzer"
:
"keywor
d"
},
//频道
"item_wiki_tags"
:{
"type"
:
"
string
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
,
"norms"
:{
"enabled"
:
false
}},
//三级tag
"item_wiki_tags"
:{
"type"
:
"
text
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
,
"norms"
:{
"enabled"
:
false
}},
//三级tag
"closure_tag_ids"
:{
"type"
:
"long"
},
//传递闭包tag
id列表
"closure_tags"
:{
"type"
:
"
string
"
,
"analyzer"
:
"gm_ngram_index"
,
"search_analyzer"
:
"gm_default_search"
,
"norms"
:{
"enabled"
:
false
}},
//tag
"closure_tags"
:{
"type"
:
"
text
"
,
"analyzer"
:
"gm_ngram_index"
,
"search_analyzer"
:
"gm_default_search"
,
"norms"
:{
"enabled"
:
false
}},
//tag
"is_online"
:{
"type"
:
"boolean"
},
//是否上线
...
...
@@ -27,27 +27,27 @@
"is_can_be_sold"
:{
"type"
:
"boolean"
},
//是否还有库存
"short_description"
:{
"type"
:
"
string
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
,
"norms"
:{
"enabled"
:
false
}},
"short_description_pre"
:{
"type"
:
"
string
"
,
"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
}},
"short_description_pre"
:{
"type"
:
"
text
"
,
"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
}},
"detail_description"
:{
"type"
:
"
text
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
,
"norms"
:{
"enabled"
:
false
}},
"location"
:{
"type"
:
"geo_point"
},
"is_stage"
:{
"type"
:
"boolean"
,
"null_value"
:
false
},
//是否支持分期付款
"is_fenqi"
:{
"type"
:
"boolean"
,
"null_value"
:
false
},
//另一种是否支持分期付款
"merchant_doctor_id"
:
{
"type"
:
"string
"
},
//商户的医生id
"merchant_doctor_id"
:
{
"type"
:
"text
"
},
//商户的医生id
//
[
DEPRECATED
]
"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
}},
//医院名
"id"
:{
"type"
:
"
text"
,
"analyzer"
:
"keywor
d"
},
"name"
:{
"type"
:
"
text
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
,
"norms"
:{
"enabled"
:
false
}},
//医院名
"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"
}
}
},
...
...
@@ -55,28 +55,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
}}
//机构管理者名称
}
}
}
...
...
@@ -141,7 +141,7 @@
"start_time"
:{
"type"
:
"date"
,
"format"
:
"date_time_no_millis"
},
"end_time"
:{
"type"
:
"date"
,
"format"
:
"date_time_no_millis"
},
"price"
:{
"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
}},
"sku_rank"
:{
"type"
:
"double"
},
"price_type"
:{
"type"
:
"long"
}
}
...
...
@@ -184,17 +184,17 @@
}
},
"advertise_position"
:{
"type"
:
"
string"
,
"index"
:
"not_analyze
d"
},
//广告位置
用于加速过滤
"advertise_searchwords"
:{
"type"
:
"
string"
,
"index"
:
"not_analyze
d"
},
//所有搜索词
用于加速过滤
"advertise_position"
:{
"type"
:
"
text"
,
"analyzer"
:
"keywor
d"
},
//广告位置
用于加速过滤
"advertise_searchwords"
:{
"type"
:
"
text"
,
"analyzer"
:
"keywor
d"
},
//所有搜索词
用于加速过滤
"advertise_info"
:{
//广告具体信息
"type"
:
"object"
,
"enabled"
:
false
,
"properties"
:{
"id"
:{
"type"
:
"long"
},
//ID
"position"
:{
"type"
:
"
string"
,
"index"
:
"not_analyze
d"
},
//list
of
位置
"position"
:{
"type"
:
"
text"
,
"analyzer"
:
"keywor
d"
},
//list
of
位置
"start_time_epoch"
:{
"type"
:
"long"
},
//开始时间
"end_time_epoch"
:{
"type"
:
"long"
},
//结束时间
"searchwords"
:{
"type"
:
"
string"
,
"index"
:
"not_analyze
d"
},
//搜索词(如果有)
"searchwords"
:{
"type"
:
"
text"
,
"analyzer"
:
"keywor
d"
},
//搜索词(如果有)
"ordering"
:{
"type"
:
"long"
},
"ad_tag_ids"
:{
"type"
:
"long"
},
//
广告
tag_id
"show_city_tags"
:{
"type"
:
"long"
}
//
广告显示城市
...
...
@@ -204,7 +204,7 @@
"is_insurance"
:
{
"type"
:
"boolean"
},
//是否支持保险
"tip"
:
{
"type"
:
"string"
,
"index"
:
"not_analyze
d"
},
//提示标签
"tip"
:
{
"type"
:
"text"
,
"analyzer"
:
"keywor
d"
},
//提示标签
"ordered_user_ids"
:{
"type"
:
"long"
},
//购买过的用户ID
...
...
@@ -215,14 +215,14 @@
"query_pv"
:
{
"type"
:
"nested"
,
"properties"
:{
"query"
:{
"type"
:
"
string"
,
"index"
:
"not_analyze
d"
},
"query"
:{
"type"
:
"
text"
,
"analyzer"
:
"keywor
d"
},
"pv"
:{
"type"
:
"long"
}
}
},
"max_query_pv"
:{
"type"
:
"nested"
,
"properties"
:{
"query"
:{
"type"
:
"
string"
,
"index"
:
"not_analyze
d"
},
"query"
:{
"type"
:
"
text"
,
"analyzer"
:
"keywor
d"
},
"pv"
:{
"type"
:
"long"
}
}
},
...
...
@@ -239,7 +239,7 @@
"type"
:
"object"
,
"properties"
:{
"tag_id"
:{
"type"
:
"long"
},
"name"
:{
"type"
:
"string"
,
"index"
:
"not_analyze
d"
}
"name"
:{
"type"
:
"text"
,
"analyzer"
:
"keywor
d"
}
}
},
...
...
trans2es/mapping/service_norms_disable.json
View file @
c34cb139
...
...
@@ -3,15 +3,15 @@
"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
}},
//名称
"pv"
:
{
"type"
:
"long"
},
//
12
点前取前天pv
,
12
点后取昨日pv
"channel"
:{
"type"
:
"
string"
,
"index"
:
"not_analyze
d"
},
//频道
"channel"
:{
"type"
:
"
text"
,
"analyzer"
:
"keywor
d"
},
//频道
"item_wiki_tags"
:{
"type"
:
"
string
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
,
"norms"
:{
"enabled"
:
false
}},
//三级tag
"item_wiki_tags"
:{
"type"
:
"
text
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
,
"norms"
:{
"enabled"
:
false
}},
//三级tag
"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
"is_online"
:{
"type"
:
"boolean"
},
//是否上线
...
...
@@ -27,25 +27,25 @@
"is_can_be_sold"
:{
"type"
:
"boolean"
},
//是否还有库存
"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
}},
"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
}},
"location"
:{
"type"
:
"geo_point"
},
"is_stage"
:{
"type"
:
"boolean"
,
"null_value"
:
false
},
//是否支持分期付款
"is_fenqi"
:{
"type"
:
"boolean"
,
"null_value"
:
false
},
//另一种是否支持分期付款
"merchant_doctor_id"
:
{
"type"
:
"string
"
},
//商户的医生id
"merchant_doctor_id"
:
{
"type"
:
"text
"
},
//商户的医生id
//
[
DEPRECATED
]
"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
}},
//医院名
"id"
:{
"type"
:
"
text"
,
"analyzer"
:
"keywor
d"
},
"name"
:{
"type"
:
"
text
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
,
"norms"
:{
"enabled"
:
false
}},
//医院名
"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"
}
}
},
...
...
@@ -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
}}
//机构管理者名称
}
}
}
...
...
@@ -139,7 +139,7 @@
"start_time"
:{
"type"
:
"date"
,
"format"
:
"date_time_no_millis"
},
"end_time"
:{
"type"
:
"date"
,
"format"
:
"date_time_no_millis"
},
"price"
:{
"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
}},
"sku_rank"
:{
"type"
:
"double"
},
"price_type"
:{
"type"
:
"long"
}
}
...
...
@@ -182,17 +182,17 @@
}
},
"advertise_position"
:{
"type"
:
"
string"
,
"index"
:
"not_analyze
d"
},
//广告位置
用于加速过滤
"advertise_searchwords"
:{
"type"
:
"
string"
,
"index"
:
"not_analyze
d"
},
//所有搜索词
用于加速过滤
"advertise_position"
:{
"type"
:
"
text"
,
"analyzer"
:
"keywor
d"
},
//广告位置
用于加速过滤
"advertise_searchwords"
:{
"type"
:
"
text"
,
"analyzer"
:
"keywor
d"
},
//所有搜索词
用于加速过滤
"advertise_info"
:{
//广告具体信息
"type"
:
"object"
,
"enabled"
:
false
,
"properties"
:{
"id"
:{
"type"
:
"long"
},
//ID
"position"
:{
"type"
:
"
string"
,
"index"
:
"not_analyze
d"
},
//list
of
位置
"position"
:{
"type"
:
"
text"
,
"analyzer"
:
"keywor
d"
},
//list
of
位置
"start_time_epoch"
:{
"type"
:
"long"
},
//开始时间
"end_time_epoch"
:{
"type"
:
"long"
},
//结束时间
"searchwords"
:{
"type"
:
"
string"
,
"index"
:
"not_analyze
d"
},
//搜索词(如果有)
"searchwords"
:{
"type"
:
"
text"
,
"analyzer"
:
"keywor
d"
},
//搜索词(如果有)
"ordering"
:{
"type"
:
"long"
},
"ad_tag_ids"
:{
"type"
:
"long"
},
//
广告
tag_id
"show_city_tags"
:{
"type"
:
"long"
}
//
广告显示城市
...
...
@@ -202,7 +202,7 @@
"is_insurance"
:
{
"type"
:
"boolean"
},
//是否支持保险
"tip"
:
{
"type"
:
"string"
,
"index"
:
"not_analyze
d"
},
//提示标签
"tip"
:
{
"type"
:
"text"
,
"analyzer"
:
"keywor
d"
},
//提示标签
"ordered_user_ids"
:{
"type"
:
"long"
},
//购买过的用户ID
...
...
@@ -213,14 +213,14 @@
"query_pv"
:
{
"type"
:
"nested"
,
"properties"
:{
"query"
:{
"type"
:
"
string"
,
"index"
:
"not_analyze
d"
},
"query"
:{
"type"
:
"
text"
,
"analyzer"
:
"keywor
d"
},
"pv"
:{
"type"
:
"long"
}
}
},
"max_query_pv"
:{
"type"
:
"nested"
,
"properties"
:{
"query"
:{
"type"
:
"
string"
,
"index"
:
"not_analyze
d"
},
"query"
:{
"type"
:
"
text"
,
"analyzer"
:
"keywor
d"
},
"pv"
:{
"type"
:
"long"
}
}
},
...
...
@@ -237,7 +237,7 @@
"type"
:
"object"
,
"properties"
:{
"tag_id"
:{
"type"
:
"long"
},
"name"
:{
"type"
:
"string"
,
"index"
:
"not_analyze
d"
}
"name"
:{
"type"
:
"text"
,
"analyzer"
:
"keywor
d"
}
}
},
...
...
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