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
b032baf7
Commit
b032baf7
authored
Nov 05, 2020
by
李小芳
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改mapping
parent
e1b49447
Show whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
274 additions
and
497 deletions
+274
-497
problem.json
trans2es/mapping/problem.json
+10
-12
question.json
trans2es/mapping/question.json
+22
-22
service.json
trans2es/mapping/service.json
+65
-187
service_ngram.json
trans2es/mapping/service_ngram.json
+31
-58
service_norms_disable.json
trans2es/mapping/service_norms_disable.json
+30
-55
sku.json
trans2es/mapping/sku.json
+28
-29
sku_norms_disable.json
trans2es/mapping/sku_norms_disable.json
+19
-30
special.json
trans2es/mapping/special.json
+2
-5
subscript_article.json
trans2es/mapping/subscript_article.json
+5
-14
tag.json
trans2es/mapping/tag.json
+2
-5
tagv3.json
trans2es/mapping/tagv3.json
+14
-27
tractate.json
trans2es/mapping/tractate.json
+39
-42
user.json
trans2es/mapping/user.json
+4
-5
user_album.json
trans2es/mapping/user_album.json
+0
-1
wiki_keyword.json
trans2es/mapping/wiki_keyword.json
+3
-5
No files found.
trans2es/mapping/problem.json
View file @
b032baf7
...
...
@@ -7,7 +7,7 @@
"type"
:
"object"
,
"properties"
:{
"id"
:{
"type"
:
"long"
},
"last_name"
:{
"type"
:
"
string
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//用户昵称
"last_name"
:{
"type"
:
"
text
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//用户昵称
"city_tag_id"
:{
"type"
:
"long"
},
//所在城市tag
id
"city_province_tag_id"
:{
"type"
:
"long"
},
//所在省份tag
id
"city_province_country_tag_id"
:
{
"type"
:
"long"
},
//
所在国家
tag
id
...
...
@@ -17,23 +17,21 @@
"has_video"
:{
"type"
:
"boolean"
},
//是否有关联视频
"topic_type"
:{
"type"
:
"
string"
,
"index"
:
"not_analyze
d"
},
//帖子类型
"topic_type"
:{
"type"
:
"
keywor
d"
},
//帖子类型
"private_status"
:{
"type"
:
"
string"
,
"index"
:
"not_analyze
d"
},
//是否私信问题
"private_status"
:{
"type"
:
"
keywor
d"
},
//是否私信问题
"flag"
:{
"type"
:
"
string"
,
"index"
:
"not_analyze
d"
},
//是否被删除(n/d)
"flag"
:{
"type"
:
"
keywor
d"
},
//是否被删除(n/d)
"title"
:{
"type"
:
"string"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//帖子标题(ask)
"title2"
:{
"type"
:
"string"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//帖子标题(title)
"content"
:{
"type"
:
"string"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//帖子内容
"tags"
:{
"type"
:
"string"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//帖子tag
"title"
:{
"type"
:
"text"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//帖子标题(ask)
"title2"
:{
"type"
:
"text"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//帖子标题(title)
"content"
:{
"type"
:
"text"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//帖子内容
"tags"
:{
"type"
:
"text"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//帖子tag
"closure_tag_ids"
:{
"type"
:
"long"
},
//帖子tag
id闭包
"tag_ids"
:{
"type"
:
"long"
},
//帖子tag
id
//
新标签
"fresh_tags"
:{
"type"
:
"
string
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//帖子tag
"fresh_tags"
:{
"type"
:
"
text
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//帖子tag
"fresh_closure_tag_ids"
:{
"type"
:
"long"
},
//帖子tag
id闭包
"fresh_tag_ids"
:{
"type"
:
"long"
},
//帖子tag
id
...
...
@@ -42,7 +40,7 @@
"type"
:
"nested"
,
"properties"
:{
"id"
:{
"type"
:
"long"
},
//回复id
"content"
:{
"type"
:
"
string
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
}
//回复内容
"content"
:{
"type"
:
"
text
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
}
//回复内容
}
},
"replys_num"
:{
"type"
:
"long"
},
...
...
trans2es/mapping/question.json
View file @
b032baf7
...
...
@@ -9,7 +9,7 @@
"type"
:
"object"
,
"properties"
:{
"id"
:{
"type"
:
"long"
},
"last_name"
:{
"type"
:
"
string
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//用户昵称
"last_name"
:{
"type"
:
"
text
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//用户昵称
"city_tag_id"
:{
"type"
:
"long"
},
//所在城市tag
id
"city_province_tag_id"
:{
"type"
:
"long"
},
//所在省份tag
id
"city_province_country_tag_id"
:
{
"type"
:
"long"
},
//
所在国家
tag
id
...
...
@@ -19,12 +19,12 @@
"doctor"
:{
//关联到医生
"type"
:
"object"
,
"properties"
:{
"id"
:{
"type"
:
"
string"
,
"index"
:
"not_analyze
d"
},
"name"
:{
"type"
:
"
string
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
}
"id"
:{
"type"
:
"
keywor
d"
},
"name"
:{
"type"
:
"
text
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
}
}
},
"title"
:{
"type"
:
"
string
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//问题标题(title)
"content"
:{
"type"
:
"
string
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//问题内容
"title"
:{
"type"
:
"
text
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//问题标题(title)
"content"
:{
"type"
:
"
text
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//问题内容
"is_online"
:{
"type"
:
"boolean"
},
//是否上线
"is_recommend"
:{
"type"
:
"boolean"
},
//是否推荐问题
"last_update_time"
:{
//最后更新时间(回复时间/修改时间)
...
...
@@ -35,12 +35,12 @@
"type"
:
"date"
,
"format"
:
"date_time_no_millis"
},
"tags"
:{
"type"
:
"
string
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//帖子tag
"tags"
:{
"type"
:
"
text
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//帖子tag
"closure_tag_ids"
:{
"type"
:
"long"
},
//帖子tag
id闭包
"tag_ids"
:{
"type"
:
"long"
},
//帖子tag
id
//
新标签
"fresh_tags"
:{
"type"
:
"
string
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//帖子tag
"fresh_tags"
:{
"type"
:
"
text
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//帖子tag
"fresh_closure_tag_ids"
:{
"type"
:
"long"
},
//帖子tag
id闭包
"fresh_tag_ids"
:{
"type"
:
"long"
},
//帖子tag
id
...
...
@@ -49,7 +49,7 @@
"properties"
:{
"id"
:{
"type"
:
"long"
},
//回答id
"create_time"
:{
"type"
:
"date"
,
"format"
:
"date_time_no_millis"
},
//创建时间
"content"
:{
"type"
:
"
string
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//回答内容
"content"
:{
"type"
:
"
text
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//回答内容
"is_online"
:{
"type"
:
"boolean"
},
//是否上线
"is_recommend"
:{
"type"
:
"boolean"
},
//是否上线
,
"level"
:
{
"type"
:
"long"
}
...
...
@@ -73,21 +73,21 @@
"org_sink_start_time"
:{
"type"
:
"date"
,
"format"
:
"date_time_no_millis"
},
//开始时间
"org_sink_end_time"
:{
"type"
:
"date"
,
"format"
:
"date_time_no_millis"
},
//结束时间
"question_type"
:{
"type"
:
"long"
},
"content_type"
:{
"type"
:
"
string
"
},
//
问题内容类型(普通、视频)
"content_type"
:{
"type"
:
"
keyword
"
},
//
问题内容类型(普通、视频)
"question_lastest_answer_time"
:
{
"type"
:
"date"
,
"format"
:
"date_time_no_millis"
},
//
问题最新回答创建时间
or
问题创建时间
"best_answer"
:{
"type"
:
"long"
},
"content_keyword"
:{
"type"
:
"
string"
,
"index"
:
"not_analyze
d"
},
"content_star_keyword"
:{
"type"
:
"
string"
,
"index"
:
"not_analyze
d"
},
"content_star_first_keyword"
:{
"type"
:
"
string"
,
"index"
:
"not_analyze
d"
},
"title_keyword"
:{
"type"
:
"
string"
,
"index"
:
"not_analyze
d"
},
"content_keyword"
:{
"type"
:
"
keywor
d"
},
"content_star_keyword"
:{
"type"
:
"
keywor
d"
},
"content_star_first_keyword"
:{
"type"
:
"
keywor
d"
},
"title_keyword"
:{
"type"
:
"
keywor
d"
},
"all_smk"
:{
"type"
:
"float"
},
"tags_v3"
:
{
"type"
:
"
string
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//
新标签
"first_demands"
:
{
"type"
:
"
string
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//
1
级诉求
"second_demands"
:
{
"type"
:
"
string
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//
2
级诉求
"first_solutions"
:
{
"type"
:
"
string
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//
1
级方式
"second_solutions"
:
{
"type"
:
"
string
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//
2
级方式
"positions"
:
{
"type"
:
"
string
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//
部位
"second_positions"
:
{
"type"
:
"
string
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//
二级部位
"tags_v3"
:
{
"type"
:
"
text
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//
新标签
"first_demands"
:
{
"type"
:
"
text
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//
1
级诉求
"second_demands"
:
{
"type"
:
"
text
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//
2
级诉求
"first_solutions"
:
{
"type"
:
"
text
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//
1
级方式
"second_solutions"
:
{
"type"
:
"
text
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//
2
级方式
"positions"
:
{
"type"
:
"
text
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//
部位
"second_positions"
:
{
"type"
:
"
text
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//
二级部位
"tagv3_ids"
:
{
"type"
:
"long"
},
//新标签id集合
"first_demands_ids"
:
{
"type"
:
"long"
},
"second_demands_ids"
:
{
"type"
:
"long"
},
...
...
@@ -97,8 +97,8 @@
"second_positions_ids"
:
{
"type"
:
"long"
},
"first_classify_ids"
:
{
"type"
:
"long"
},
//新标签一级分类id集合
"second_classify_ids"
:
{
"type"
:
"long"
},
//新标签二级分类id集合
"first_classify_names"
:
{
"type"
:
"
string
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//新标签一级分类名称集合
"second_classify_names"
:
{
"type"
:
"
string
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//新标签二级分类名称集合
"first_classify_names"
:
{
"type"
:
"
text
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//新标签一级分类名称集合
"second_classify_names"
:
{
"type"
:
"
text
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//新标签二级分类名称集合
"operators_add_tags"
:{
"type"
:
"long"
}
//新标签中运营添加的词
EXCHANGE交易运营
COMMUNITY社区运营
}
}
trans2es/mapping/service.json
View file @
b032baf7
...
...
@@ -16,12 +16,10 @@
"type"
:
"long"
},
"position"
:
{
"type"
:
"string"
,
"index"
:
"not_analyzed"
"type"
:
"keyword"
},
"searchwords"
:
{
"type"
:
"string"
,
"index"
:
"not_analyzed"
"type"
:
"keyword"
},
"show_city_tags"
:
{
"type"
:
"long"
...
...
@@ -32,19 +30,16 @@
}
},
"advertise_position"
:
{
"type"
:
"string"
,
"index"
:
"not_analyzed"
"type"
:
"keyword"
},
"advertise_searchwords"
:
{
"type"
:
"string"
,
"index"
:
"not_analyzed"
"type"
:
"keyword"
},
"advertise_tag_ids"
:
{
"type"
:
"long"
},
"ai_tags"
:
{
"type"
:
"string"
,
"index"
:
"not_analyzed"
"type"
:
"keyword"
},
"can_sold_time_range"
:
{
"properties"
:
{
...
...
@@ -62,32 +57,22 @@
"type"
:
"long"
},
"channel"
:
{
"type"
:
"string"
,
"index"
:
"not_analyzed"
"type"
:
"keyword"
},
"closure_tag_ids"
:
{
"type"
:
"long"
},
"closure_tags"
:
{
"type"
:
"string"
,
"norms"
:
{
"enabled"
:
false
},
"type"
:
"text"
,
"analyzer"
:
"gm_ngram_common_index"
,
"search_analyzer"
:
"gm_default_search"
},
"closure_tags_by_standard_analyzer"
:
{
"type"
:
"string"
,
"norms"
:
{
"enabled"
:
false
},
"type"
:
"text"
,
"analyzer"
:
"standard"
},
"detail_description"
:
{
"type"
:
"string"
,
"norms"
:
{
"enabled"
:
false
},
"type"
:
"text"
,
"analyzer"
:
"gm_ngram_common_index"
,
"search_analyzer"
:
"gm_default_search"
},
...
...
@@ -113,36 +98,24 @@
"type"
:
"long"
},
"city_name"
:
{
"type"
:
"string"
,
"norms"
:
{
"enabled"
:
false
},
"type"
:
"text"
,
"analyzer"
:
"gm_ngram_common_index"
,
"search_analyzer"
:
"gm_default_search"
},
"city_name_by_standard_analyzer"
:
{
"type"
:
"string"
,
"norms"
:
{
"enabled"
:
false
},
"type"
:
"text"
,
"analyzer"
:
"standard"
},
"city_province_country_tag_id"
:
{
"type"
:
"long"
},
"city_province_name"
:
{
"type"
:
"string"
,
"norms"
:
{
"enabled"
:
false
},
"type"
:
"text"
,
"analyzer"
:
"gm_ngram_common_index"
,
"search_analyzer"
:
"gm_default_search"
},
"city_province_name_by_standard_analyzer"
:
{
"type"
:
"string"
,
"norms"
:
{
"enabled"
:
false
},
"type"
:
"text"
,
"analyzer"
:
"standard"
},
"city_province_tag_id"
:
{
...
...
@@ -152,16 +125,13 @@
"type"
:
"long"
},
"hospital_type"
:
{
"type"
:
"string"
,
"index"
:
"not_analyzed"
"type"
:
"keyword"
},
"hospital_type2"
:
{
"type"
:
"string"
,
"index"
:
"not_analyzed"
"type"
:
"keyword"
},
"id"
:
{
"type"
:
"string"
,
"index"
:
"not_analyzed"
"type"
:
"keyword"
},
"is_high_quality"
:
{
"type"
:
"boolean"
...
...
@@ -170,59 +140,39 @@
"type"
:
"boolean"
},
"name"
:
{
"type"
:
"string"
,
"norms"
:
{
"enabled"
:
false
},
"type"
:
"text"
,
"analyzer"
:
"gm_ngram_common_index"
,
"search_analyzer"
:
"gm_default_search"
},
"name_by_standard_analyzer"
:
{
"type"
:
"string"
,
"norms"
:
{
"enabled"
:
false
},
"type"
:
"text"
,
"analyzer"
:
"standard"
},
"officer_name"
:
{
"type"
:
"string"
,
"norms"
:
{
"enabled"
:
false
},
"type"
:
"text"
,
"analyzer"
:
"gm_ngram_common_index"
,
"search_analyzer"
:
"gm_default_search"
},
"officer_name_by_standard_analyzer"
:
{
"type"
:
"string"
,
"norms"
:
{
"enabled"
:
false
},
"type"
:
"text"
,
"analyzer"
:
"standard"
}
}
},
"id"
:
{
"type"
:
"string"
,
"index"
:
"not_analyzed"
"type"
:
"keyword"
},
"name"
:
{
"type"
:
"string"
,
"norms"
:
{
"enabled"
:
false
},
"type"
:
"text"
,
"analyzer"
:
"gm_ngram_common_index"
,
"search_analyzer"
:
"gm_default_search"
},
"name_by_standard_analyzer"
:
{
"type"
:
"string"
,
"norms"
:
{
"enabled"
:
false
},
"type"
:
"text"
,
"analyzer"
:
"standard"
},
"title"
:
{
"type"
:
"string"
,
"index"
:
"not_analyzed"
"type"
:
"keyword"
}
}
},
...
...
@@ -240,12 +190,12 @@
"type"
:
"long"
},
"first_classify_names"
:
{
"type"
:
"
string
"
,
"type"
:
"
texxt
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
"first_demands"
:
{
"type"
:
"
string
"
,
"type"
:
"
text
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
...
...
@@ -256,7 +206,7 @@
"type"
:
"long"
},
"first_solutions"
:
{
"type"
:
"
string
"
,
"type"
:
"
text
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
...
...
@@ -264,10 +214,7 @@
"type"
:
"long"
},
"first_tags"
:
{
"type"
:
"string"
,
"norms"
:
{
"enabled"
:
false
},
"type"
:
"text"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
...
...
@@ -275,10 +222,7 @@
"type"
:
"long"
},
"fresh_closure_tags"
:
{
"type"
:
"string"
,
"norms"
:
{
"enabled"
:
false
},
"type"
:
"text"
,
"analyzer"
:
"gm_ngram_common_index"
,
"search_analyzer"
:
"gm_default_search"
},
...
...
@@ -294,10 +238,7 @@
"hospital"
:
{
"properties"
:
{
"city_name"
:
{
"type"
:
"string"
,
"norms"
:
{
"enabled"
:
false
},
"type"
:
"text"
,
"analyzer"
:
"gm_ngram_common_index"
,
"search_analyzer"
:
"gm_default_search"
},
...
...
@@ -305,10 +246,7 @@
"type"
:
"long"
},
"city_province_name"
:
{
"type"
:
"string"
,
"norms"
:
{
"enabled"
:
false
},
"type"
:
"text"
,
"analyzer"
:
"gm_ngram_common_index"
,
"search_analyzer"
:
"gm_default_search"
},
...
...
@@ -319,14 +257,10 @@
"type"
:
"long"
},
"id"
:
{
"type"
:
"string"
,
"index"
:
"not_analyzed"
"type"
:
"keyword"
},
"name"
:
{
"type"
:
"string"
,
"norms"
:
{
"enabled"
:
false
},
"type"
:
"text"
,
"analyzer"
:
"gm_ngram_common_index"
,
"search_analyzer"
:
"gm_default_search"
}
...
...
@@ -368,24 +302,17 @@
"null_value"
:
false
},
"item_wiki_tags"
:
{
"type"
:
"string"
,
"norms"
:
{
"enabled"
:
false
},
"type"
:
"text"
,
"analyzer"
:
"gm_ngram_common_index"
,
"search_analyzer"
:
"gm_default_search"
},
"items_name"
:
{
"type"
:
"string"
,
"norms"
:
{
"enabled"
:
false
},
"type"
:
"text"
,
"analyzer"
:
"gm_ngram_common_index"
,
"search_analyzer"
:
"gm_default_search"
},
"items_name_keyword"
:
{
"type"
:
"string"
,
"index"
:
"not_analyzed"
"type"
:
"keyword"
},
"location"
:
{
"type"
:
"geo_point"
...
...
@@ -419,30 +346,25 @@
"type"
:
"long"
},
"query"
:
{
"type"
:
"string"
,
"index"
:
"not_analyzed"
"type"
:
"keyword"
}
}
},
"merchant_doctor_id"
:
{
"type"
:
"
string
"
"type"
:
"
keyword
"
},
"merchant_doctor_rank"
:
{
"type"
:
"double"
},
"name"
:
{
"type"
:
"string"
,
"norms"
:
{
"enabled"
:
false
},
"type"
:
"text"
"analyzer"
:
"gm_ngram_common_index"
,
"search_analyzer"
:
"gm_default_search"
},
"nearby_city_tags"
:
{
"properties"
:
{
"name"
:
{
"type"
:
"string"
,
"index"
:
"not_analyzed"
"type"
:
"keyword"
},
"tag_id"
:
{
"type"
:
"long"
...
...
@@ -457,10 +379,7 @@
"format"
:
"date_time_no_millis"
},
"name"
:
{
"type"
:
"string"
,
"norms"
:
{
"enabled"
:
false
},
"type"
:
"text"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
...
...
@@ -520,12 +439,10 @@
"type"
:
"long"
},
"position"
:
{
"type"
:
"string"
,
"index"
:
"not_analyzed"
"type"
:
"keyword"
},
"searchwords"
:
{
"type"
:
"string"
,
"index"
:
"not_analyzed"
"type"
:
"keyword"
},
"show_city_tags"
:
{
"type"
:
"long"
...
...
@@ -572,7 +489,7 @@
}
},
"positions"
:
{
"type"
:
"
string
"
,
"type"
:
"
text
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
...
...
@@ -586,8 +503,7 @@
"type"
:
"long"
},
"query"
:
{
"type"
:
"string"
,
"index"
:
"not_analyzed"
"type"
:
"keyword"
}
}
},
...
...
@@ -642,12 +558,12 @@
"type"
:
"long"
},
"second_classify_names"
:
{
"type"
:
"
string
"
,
"type"
:
"
text
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
"second_demands"
:
{
"type"
:
"
string
"
,
"type"
:
"
text
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
...
...
@@ -655,7 +571,7 @@
"type"
:
"long"
},
"second_positions"
:
{
"type"
:
"
string
"
,
"type"
:
"
text
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
...
...
@@ -663,7 +579,7 @@
"type"
:
"long"
},
"second_solutions"
:
{
"type"
:
"
string
"
,
"type"
:
"
text
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
...
...
@@ -671,10 +587,7 @@
"type"
:
"long"
},
"second_tags"
:
{
"type"
:
"string"
,
"norms"
:
{
"enabled"
:
false
},
"type"
:
"text"
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
...
...
@@ -685,25 +598,16 @@
"type"
:
"boolean"
},
"short_description"
:
{
"type"
:
"string"
,
"norms"
:
{
"enabled"
:
false
},
"type"
:
"text"
,
"analyzer"
:
"gm_ngram_common_index"
,
"search_analyzer"
:
"gm_default_search"
},
"short_description_by_standard_analyzer"
:
{
"type"
:
"string"
,
"norms"
:
{
"enabled"
:
false
},
"type"
:
"text"
,
"analyzer"
:
"standard"
},
"short_description_pre"
:
{
"type"
:
"string"
,
"norms"
:
{
"enabled"
:
false
},
"type"
:
"text"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
...
...
@@ -715,10 +619,7 @@
"format"
:
"date_time_no_millis"
},
"instrument"
:
{
"type"
:
"string"
,
"norms"
:
{
"enabled"
:
false
},
"type"
:
"text"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
...
...
@@ -726,44 +627,31 @@
"type"
:
"boolean"
},
"materials"
:
{
"type"
:
"string"
,
"norms"
:
{
"enabled"
:
false
},
"type"
:
"text"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
"name"
:
{
"type"
:
"string"
,
"norms"
:
{
"enabled"
:
false
},
"type"
:
"text"
,
"analyzer"
:
"gm_ngram_common_index"
,
"search_analyzer"
:
"gm_default_search"
},
"name_by_standard_analyzer"
:
{
"type"
:
"string"
,
"norms"
:
{
"enabled"
:
false
},
"type"
:
"text"
,
"analyzer"
:
"standard"
},
"new_sku_tags"
:
{
"type"
:
"
string
"
,
"type"
:
"
text
"
,
"analyzer"
:
"gm_ngram_common_index"
,
"search_analyzer"
:
"gm_default_search"
},
"new_sku_name"
:
{
"type"
:
"string"
,
"norms"
:
{
"enabled"
:
false
},
"type"
:
"text"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_ngram_index"
},
"new_sku_tags_keyword"
:
{
"type"
:
"string"
,
"index"
:
"not_analyzed"
"type"
:
"text"
},
"price"
:
{
"type"
:
"long"
...
...
@@ -781,19 +669,13 @@
"type"
:
"long"
},
"sku_item_names"
:
{
"type"
:
"string"
,
"norms"
:
{
"enabled"
:
false
},
"type"
:
"text"
,
"index_options"
:
"offsets"
,
"analyzer"
:
"gm_ngram_common_index"
,
"search_analyzer"
:
"gm_default_search"
},
"sku_items_name"
:
{
"type"
:
"string"
,
"norms"
:
{
"enabled"
:
false
},
"type"
:
"text"
,
"index_options"
:
"offsets"
,
"analyzer"
:
"gm_ngram_common_index"
,
"search_analyzer"
:
"gm_default_search"
...
...
@@ -883,7 +765,7 @@
}
},
"tags_v3"
:
{
"type"
:
"
string
"
,
"type"
:
"
text
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
...
...
@@ -891,10 +773,7 @@
"type"
:
"long"
},
"third_tags"
:
{
"type"
:
"string"
,
"norms"
:
{
"enabled"
:
false
},
"type"
:
"text"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
...
...
@@ -913,8 +792,7 @@
"type"
:
"long"
},
"tip"
:
{
"type"
:
"string"
,
"index"
:
"not_analyzed"
"type"
:
"keyword"
},
"unit_ids"
:
{
"type"
:
"long"
...
...
trans2es/mapping/service_ngram.json
View file @
b032baf7
...
...
@@ -2,19 +2,13 @@
"dynamic"
:
"strict"
,
"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_analyzed"
},
//频道
"item_wiki_tags"
:{
"type"
:
"string"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
,
"norms"
:{
"enabled"
:
false
}},
//三级tag
"channel"
:{
"type"
:
"keyword"
},
//频道
"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"
},
//是否上线
"is_sink"
:{
"type"
:
"boolean"
},
//是否下沉
"ticket_sink_start_time"
:{
//罚单下沉起始时间
"type"
:
"date"
,
...
...
@@ -24,68 +18,59 @@
"type"
:
"date"
,
"format"
:
"date_time_no_millis"
},
"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
}},
"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
}},
"short_description_pre"
:{
"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"
:
"keyword"
},
//商户的医生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"
:
"
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"
}
}
},
"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"
:
"
keywor
d"
},
"title"
:{
"type"
:
"
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"
:
"
keywor
d"
},
"name"
:{
"type"
:
"
text
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
,
"norms"
:{
"enabled"
:
false
}},
//医院名
"hospital_type"
:{
"type"
:
"
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"
:
"
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
}}
//机构管理者名称
}
}
}
},
"gengmei_price"
:{
"type"
:
"long"
},
//
[
DEPRECATED
]
更美价
"gengmei_price_list"
:{
"type"
:
"long"
},
//
[
DEPRECATED
]
更美价列表(多属性美购会包括所有子美购的价格)
"sales_count"
:{
"type"
:
"long"
},
//销量
"smart_rank"
:{
"type"
:
"double"
},
//智能排序rank(大的在前)
"smart_rank2"
:{
"type"
:
"double"
},
//智能排序rank(大的在前)
"ordering"
:{
"type"
:
"long"
},
//展示顺序(小的在前,排序用)
...
...
@@ -98,7 +83,6 @@
"format"
:
"date_time_no_millis"
},
"discount"
:{
"type"
:
"double"
,
"null_value"
:
1.0
},
//折扣(更美价/市场价)
"is_seckill"
:{
"type"
:
"boolean"
},
//
[
DEPRECATED
]
是否秒杀
"seckill_price"
:{
"type"
:
"long"
},
//
[
DEPRECATED
]
可售秒杀价列表(对应可售秒杀时间)
"seckill_start_time"
:{
//
[
DEPRECATED
]
可售秒杀开始时间(specialseckillservice)
...
...
@@ -110,7 +94,6 @@
"format"
:
"date_time_no_millis"
},
"seckill_discount"
:{
"type"
:
"double"
,
"null_value"
:
1.0
},
//
[
DEPRECATED
]
秒杀折扣(秒杀价/市场价)
"seckill_time"
:
{
//秒杀时间段
"type"
:
"nested"
,
"properties"
:{
...
...
@@ -141,12 +124,11 @@
"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"
}
}
},
"case_count"
:{
"type"
:
"long"
},
//案例数(关联日记本数)
"special_rank"
:{
//专题列表顺序
"type"
:
"object"
,
...
...
@@ -156,7 +138,6 @@
"price"
:{
"type"
:
"long"
},
//
[
DEPRECATED
]
取专题/秒杀中关联serviceitem最低的
"is_recommend"
:{
"type"
:
"boolean"
}
//
[
DEPRECATED
]
}
},
"special"
:
{
//new
add
20180507
"type"
:
"nested"
,
...
...
@@ -183,46 +164,40 @@
"end_time"
:{
"type"
:
"date"
,
"format"
:
"date_time_no_millis"
}
}
},
"advertise_position"
:{
"type"
:
"string"
,
"index"
:
"not_analyzed"
},
//广告位置
用于加速过滤
"advertise_searchwords"
:{
"type"
:
"string"
,
"index"
:
"not_analyzed"
},
//所有搜索词
用于加速过滤
"advertise_position"
:{
"type"
:
"keyword"
},
//广告位置
用于加速过滤
"advertise_searchwords"
:{
"type"
:
"keyword"
},
//所有搜索词
用于加速过滤
"advertise_info"
:{
//广告具体信息
"type"
:
"object"
,
"enabled"
:
false
,
"properties"
:{
"id"
:{
"type"
:
"long"
},
//ID
"position"
:{
"type"
:
"
string"
,
"index"
:
"not_analyze
d"
},
//list
of
位置
"position"
:{
"type"
:
"
keywor
d"
},
//list
of
位置
"start_time_epoch"
:{
"type"
:
"long"
},
//开始时间
"end_time_epoch"
:{
"type"
:
"long"
},
//结束时间
"searchwords"
:{
"type"
:
"
string"
,
"index"
:
"not_analyze
d"
},
//搜索词(如果有)
"searchwords"
:{
"type"
:
"
keywor
d"
},
//搜索词(如果有)
"ordering"
:{
"type"
:
"long"
},
"ad_tag_ids"
:{
"type"
:
"long"
},
//
广告
tag_id
"show_city_tags"
:{
"type"
:
"long"
}
//
广告显示城市
}
},
"advertise_tag_ids"
:{
"type"
:
"long"
},
//自定义广告tag_id列表
"is_insurance"
:
{
"type"
:
"boolean"
},
//是否支持保险
"tip"
:
{
"type"
:
"string"
,
"index"
:
"not_analyzed"
},
//提示标签
"tip"
:
{
"type"
:
"keyword"
},
//提示标签
"ordered_user_ids"
:{
"type"
:
"long"
},
//购买过的用户ID
"is_floor_price"
:{
"type"
:
"boolean"
},
//是否是最底价
"share_get_cashback"
:{
"type"
:
"boolean"
},
//是否参与分享返现
"rating"
:{
"type"
:
"double"
,
"null_value"
:
0.0
},
//评价(
0-5
浮点)
"query_pv"
:
{
"type"
:
"nested"
,
"properties"
:{
"query"
:{
"type"
:
"
string"
,
"index"
:
"not_analyze
d"
},
"query"
:{
"type"
:
"
keywor
d"
},
"pv"
:{
"type"
:
"long"
}
}
},
"max_query_pv"
:{
"type"
:
"nested"
,
"properties"
:{
"query"
:{
"type"
:
"
string"
,
"index"
:
"not_analyze
d"
},
"query"
:{
"type"
:
"
keywor
d"
},
"pv"
:{
"type"
:
"long"
}
}
},
...
...
@@ -233,16 +208,14 @@
"heat_score"
:{
"type"
:
"double"
}
}
},
//
临近地域
"nearby_city_tags"
:
{
"type"
:
"object"
,
"properties"
:{
"tag_id"
:{
"type"
:
"long"
},
"name"
:{
"type"
:
"
string"
,
"index"
:
"not_analyze
d"
}
"name"
:{
"type"
:
"
keywor
d"
}
}
},
"gift_rank"
:{
"type"
:
"long"
},
//
红包数量
"service_type"
:{
"type"
:
"long"
},
//
gm_types
SERVICE_SELL_TYPE
//
机构罚单
...
...
trans2es/mapping/service_norms_disable.json
View file @
b032baf7
...
...
@@ -2,19 +2,13 @@
"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
}},
//名称
"pv"
:
{
"type"
:
"long"
},
//
12
点前取前天pv
,
12
点后取昨日pv
"channel"
:{
"type"
:
"string"
,
"index"
:
"not_analyzed"
},
//频道
"item_wiki_tags"
:{
"type"
:
"string"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
,
"norms"
:{
"enabled"
:
false
}},
//三级tag
"channel"
:{
"type"
:
"keyword"
},
//频道
"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"
},
//是否上线
"is_sink"
:{
"type"
:
"boolean"
},
//是否下沉
"ticket_sink_start_time"
:{
//罚单下沉起始时间
"type"
:
"date"
,
...
...
@@ -24,66 +18,58 @@
"type"
:
"date"
,
"format"
:
"date_time_no_millis"
},
"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"
:
"keyword"
},
//商户的医生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"
:
"
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"
}
}
},
"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"
:
"
keywor
d"
},
"title"
:{
"type"
:
"
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"
:
"
keywor
d"
},
"name"
:{
"type"
:
"
text
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
,
"norms"
:{
"enabled"
:
false
}},
//医院名
"hospital_type"
:{
"type"
:
"
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"
:
"
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
}}
//机构管理者名称
}
}
}
},
"gengmei_price"
:{
"type"
:
"long"
},
//
[
DEPRECATED
]
更美价
"gengmei_price_list"
:{
"type"
:
"long"
},
//
[
DEPRECATED
]
更美价列表(多属性美购会包括所有子美购的价格)
"sales_count"
:{
"type"
:
"long"
},
//销量
"smart_rank"
:{
"type"
:
"double"
},
//智能排序rank(大的在前)
"smart_rank2"
:{
"type"
:
"double"
},
//智能排序rank(大的在前)
"ordering"
:{
"type"
:
"long"
},
//展示顺序(小的在前,排序用)
...
...
@@ -96,7 +82,6 @@
"format"
:
"date_time_no_millis"
},
"discount"
:{
"type"
:
"double"
,
"null_value"
:
1.0
},
//折扣(更美价/市场价)
"is_seckill"
:{
"type"
:
"boolean"
},
//
[
DEPRECATED
]
是否秒杀
"seckill_price"
:{
"type"
:
"long"
},
//
[
DEPRECATED
]
可售秒杀价列表(对应可售秒杀时间)
"seckill_start_time"
:{
//
[
DEPRECATED
]
可售秒杀开始时间(specialseckillservice)
...
...
@@ -108,7 +93,6 @@
"format"
:
"date_time_no_millis"
},
"seckill_discount"
:{
"type"
:
"double"
,
"null_value"
:
1.0
},
//
[
DEPRECATED
]
秒杀折扣(秒杀价/市场价)
"seckill_time"
:
{
//秒杀时间段
"type"
:
"nested"
,
"properties"
:{
...
...
@@ -139,12 +123,11 @@
"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"
}
}
},
"case_count"
:{
"type"
:
"long"
},
//案例数(关联日记本数)
"special_rank"
:{
//专题列表顺序
"type"
:
"object"
,
...
...
@@ -181,46 +164,40 @@
"end_time"
:{
"type"
:
"date"
,
"format"
:
"date_time_no_millis"
}
}
},
"advertise_position"
:{
"type"
:
"string"
,
"index"
:
"not_analyzed"
},
//广告位置
用于加速过滤
"advertise_searchwords"
:{
"type"
:
"string"
,
"index"
:
"not_analyzed"
},
//所有搜索词
用于加速过滤
"advertise_position"
:{
"type"
:
"keyword"
,
},
//广告位置
用于加速过滤
"advertise_searchwords"
:{
"type"
:
"keyword"
},
//所有搜索词
用于加速过滤
"advertise_info"
:{
//广告具体信息
"type"
:
"object"
,
"enabled"
:
false
,
"properties"
:{
"id"
:{
"type"
:
"long"
},
//ID
"position"
:{
"type"
:
"
string"
,
"index"
:
"not_analyze
d"
},
//list
of
位置
"position"
:{
"type"
:
"
keywor
d"
},
//list
of
位置
"start_time_epoch"
:{
"type"
:
"long"
},
//开始时间
"end_time_epoch"
:{
"type"
:
"long"
},
//结束时间
"searchwords"
:{
"type"
:
"
string"
,
"index"
:
"not_analyze
d"
},
//搜索词(如果有)
"searchwords"
:{
"type"
:
"
keywor
d"
},
//搜索词(如果有)
"ordering"
:{
"type"
:
"long"
},
"ad_tag_ids"
:{
"type"
:
"long"
},
//
广告
tag_id
"show_city_tags"
:{
"type"
:
"long"
}
//
广告显示城市
}
},
"advertise_tag_ids"
:{
"type"
:
"long"
},
//自定义广告tag_id列表
"is_insurance"
:
{
"type"
:
"boolean"
},
//是否支持保险
"tip"
:
{
"type"
:
"string"
,
"index"
:
"not_analyzed"
},
//提示标签
"tip"
:
{
"type"
:
"keyword"
},
//提示标签
"ordered_user_ids"
:{
"type"
:
"long"
},
//购买过的用户ID
"is_floor_price"
:{
"type"
:
"boolean"
},
//是否是最底价
"share_get_cashback"
:{
"type"
:
"boolean"
},
//是否参与分享返现
"rating"
:{
"type"
:
"double"
,
"null_value"
:
0.0
},
//评价(
0-5
浮点)
"query_pv"
:
{
"type"
:
"nested"
,
"properties"
:{
"query"
:{
"type"
:
"
string"
,
"index"
:
"not_analyze
d"
},
"query"
:{
"type"
:
"
keywor
d"
},
"pv"
:{
"type"
:
"long"
}
}
},
"max_query_pv"
:{
"type"
:
"nested"
,
"properties"
:{
"query"
:{
"type"
:
"
string"
,
"index"
:
"not_analyze
d"
},
"query"
:{
"type"
:
"
keywor
d"
},
"pv"
:{
"type"
:
"long"
}
}
},
...
...
@@ -231,16 +208,14 @@
"heat_score"
:{
"type"
:
"double"
}
}
},
//
临近地域
"nearby_city_tags"
:
{
"type"
:
"object"
,
"properties"
:{
"tag_id"
:{
"type"
:
"long"
},
"name"
:{
"type"
:
"
string"
,
"index"
:
"not_analyze
d"
}
"name"
:{
"type"
:
"
keywor
d"
}
}
},
"gift_rank"
:{
"type"
:
"long"
},
//
红包数量
"service_type"
:{
"type"
:
"long"
},
//
gm_types
SERVICE_SELL_TYPE
//
机构罚单
...
...
trans2es/mapping/sku.json
View file @
b032baf7
{
"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"
:
"
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"
:
"
keyword
"
},
//商户的医生id
"share_get_cashback"
:{
"type"
:
"boolean"
},
//是否参与分享返现
"tip"
:
{
"type"
:
"
string"
,
"index"
:
"not_analyzed"
},
//提示标签
"tip"
:
{
"type"
:
"
keyword"
},
//提示标签
"is_stage"
:{
"type"
:
"boolean"
,
"null_value"
:
false
},
//是否支持分期付款
"is_fenqi"
:{
"type"
:
"boolean"
,
"null_value"
:
false
},
//另一种是否支持分期付款
"gift_rank"
:{
"type"
:
"long"
},
//
红包数量
...
...
@@ -45,28 +44,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"
:
"
keywor
d"
},
"title"
:{
"type"
:
"
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"
:
"
keywor
d"
},
"name"
:{
"type"
:
"
text
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//医院名
"hospital_type"
:{
"type"
:
"
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"
:
"
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"
}
//机构管理者名称
}
}
}
...
...
@@ -86,17 +85,17 @@
"type"
:
"object"
,
"properties"
:{
"tag_id"
:{
"type"
:
"long"
},
"name"
:{
"type"
:
"
string"
,
"index"
:
"not_analyze
d"
}
"name"
:{
"type"
:
"
keywor
d"
}
}
},
"tags_v3"
:
{
"type"
:
"
string
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//
新标签
"first_demands"
:
{
"type"
:
"
string
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//
1
级诉求
"second_demands"
:
{
"type"
:
"
string
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//
2
级诉求
"first_solutions"
:
{
"type"
:
"
string
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//
1
级方式
"second_solutions"
:
{
"type"
:
"
string
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//
2
级方式
"tags_v3"
:
{
"type"
:
"
text
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//
新标签
"first_demands"
:
{
"type"
:
"
text
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//
1
级诉求
"second_demands"
:
{
"type"
:
"
text
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//
2
级诉求
"first_solutions"
:
{
"type"
:
"
text
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//
1
级方式
"second_solutions"
:
{
"type"
:
"
text
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//
2
级方式
"positions"
:
{
"type"
:
"
string
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//
一级部位
"second_positions"
:
{
"type"
:
"
string
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//
二级部位
"positions"
:
{
"type"
:
"
text
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//
一级部位
"second_positions"
:
{
"type"
:
"
text
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//
二级部位
"tagv3_ids"
:
{
"type"
:
"long"
},
//新标签id集合
"first_demands_ids"
:
{
"type"
:
"long"
},
"second_demands_ids"
:
{
"type"
:
"long"
},
...
...
@@ -106,7 +105,7 @@
"second_positions_ids"
:
{
"type"
:
"long"
},
"first_classify_ids"
:
{
"type"
:
"long"
},
//新标签一级分类id集合
"second_classify_ids"
:
{
"type"
:
"long"
},
//新标签二级分类id集合
"first_classify_names"
:
{
"type"
:
"
string
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//新标签一级分类名称集合
"second_classify_names"
:
{
"type"
:
"
string
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
}
//新标签二级分类名称集合
"first_classify_names"
:
{
"type"
:
"
text
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//新标签一级分类名称集合
"second_classify_names"
:
{
"type"
:
"
text
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
}
//新标签二级分类名称集合
}
}
trans2es/mapping/sku_norms_disable.json
View file @
b032baf7
{
"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"
:
"
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"
:
"keyword"
},
//商户的医生id
"share_get_cashback"
:{
"type"
:
"boolean"
},
//是否参与分享返现
"tip"
:
{
"type"
:
"
string"
,
"index"
:
"not_analyzed"
},
//提示标签
"tip"
:
{
"type"
:
"
keyword"
},
//提示标签
"is_stage"
:{
"type"
:
"boolean"
,
"null_value"
:
false
},
//是否支持分期付款
"is_fenqi"
:{
"type"
:
"boolean"
,
"null_value"
:
false
},
//另一种是否支持分期付款
"gift_rank"
:{
"type"
:
"long"
},
//
红包数量
"is_insurance"
:
{
"type"
:
"boolean"
},
//是否支持保险
"sales_count"
:{
"type"
:
"long"
},
//销量
"case_count"
:{
"type"
:
"long"
},
//案例数(关联日记本数)
"pv"
:
{
"type"
:
"long"
},
//
12
点前取前天pv
,
12
点后取昨日pv
"ticket_sink_start_time"
:{
"type"
:
"date"
,
"format"
:
"date_time_no_millis"
},
//罚单下沉起始时间
"ticket_sink_end_time"
:{
"type"
:
"date"
,
"format"
:
"date_time_no_millis"
},
//罚单下沉终止时间
//
机构罚单
"org_sink_start_time"
:{
"type"
:
"date"
,
"format"
:
"date_time_no_millis"
},
//开始时间
"org_sink_end_time"
:{
"type"
:
"date"
,
"format"
:
"date_time_no_millis"
},
//结束时间
"price_range"
:{
//该sku在(未来)时段的价格
"type"
:
"nested"
,
"properties"
:{
...
...
@@ -48,38 +41,35 @@
"end_time"
:{
"type"
:
"date"
,
"format"
:
"date_time_no_millis"
}
}
},
"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"
:
"
keywor
d"
},
"title"
:{
"type"
:
"
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"
:
"
keywor
d"
},
"name"
:{
"type"
:
"
text
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
,
"norms"
:{
"enabled"
:
false
}},
//医院名
"hospital_type"
:{
"type"
:
"
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"
:
"
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
}}
//机构管理者名称
}
}
}
},
"special"
:
{
//new
add
20180507
"type"
:
"nested"
,
"properties"
:
{
...
...
@@ -90,13 +80,12 @@
"has_pos"
:
{
"type"
:
"boolean"
}
//是否有设置位置
}
},
//
临近地域
"nearby_city_tags"
:
{
"type"
:
"object"
,
"properties"
:{
"tag_id"
:{
"type"
:
"long"
},
"name"
:{
"type"
:
"
string"
,
"index"
:
"not_analyze
d"
}
"name"
:{
"type"
:
"
keywor
d"
}
}
}
...
...
trans2es/mapping/special.json
View file @
b032baf7
{
"dynamic"
:
"strict"
,
"properties"
:
{
"id"
:
{
"type"
:
"long"
...
...
@@ -25,12 +24,10 @@
"type"
:
"long"
},
"tag_names"
:
{
"type"
:
"string"
,
"index"
:
"not_analyzed"
"type"
:
"keyword"
},
"info_tags"
:
{
"type"
:
"string"
,
"index"
:
"not_analyzed"
"type"
:
"keyword"
},
"has_position_image"
:
{
"type"
:
"long"
...
...
trans2es/mapping/subscript_article.json
View file @
b032baf7
{
"dynamic"
:
"strict"
,
"properties"
:
{
"id"
:{
"type"
:
"long"
},
"is_online"
:{
"type"
:
"boolean"
},
"is_header_article"
:{
"type"
:
"boolean"
},
"title"
:{
"type"
:
"string"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_index"
},
"name"
:{
"type"
:
"string"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_index"
},
"share_content"
:{
"type"
:
"string"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_index"
},
"title"
:{
"type"
:
"text"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_index"
},
"name"
:{
"type"
:
"text"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_index"
},
"share_content"
:{
"type"
:
"text"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_index"
},
"tags"
:{
"type"
:
"long"
},
"tag_names"
:{
"type"
:
"string"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_index"
},
"tag_names"
:{
"type"
:
"text"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_index"
},
"categories"
:{
"type"
:
"long"
},
"category_names"
:{
"type"
:
"string"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_index"
},
"category_names"
:{
"type"
:
"text"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_index"
},
"create_time"
:{
"type"
:
"date"
,
"format"
:
"date_time_no_millis"
},
"update_time"
:{
"type"
:
"date"
,
"format"
:
"date_time_no_millis"
},
"create_time_val"
:{
"type"
:
"long"
},
"update_time_val"
:{
"type"
:
"long"
},
"platform"
:{
"type"
:
"long"
},
"ordering"
:{
"type"
:
"long"
}
}
...
...
trans2es/mapping/tag.json
View file @
b032baf7
{
"dynamic"
:
"strict"
,
"properties"
:
{
"id"
:{
"type"
:
"long"
},
"name"
:{
"type"
:
"string"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//tag名字
"description"
:{
"type"
:
"string"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//tag描述
"name"
:{
"type"
:
"text"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//tag名字
"description"
:{
"type"
:
"text"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//tag描述
"is_online"
:{
"type"
:
"boolean"
},
"popularity"
:{
"type"
:
"long"
},
//热度
"last_update_time"
:{
//最后更新时间(关联帖子的最后修改时间)
"type"
:
"date"
,
...
...
trans2es/mapping/tagv3.json
View file @
b032baf7
{
"dynamic"
:
"strict"
,
"properties"
:
{
"id"
:
{
"type"
:
"long"
},
//名称
"name"
:
{
"type"
:
"string"
,
"index"
:
"not_analyzed"
"type"
:
"keyword"
},
"pre_name"
:
{
"type"
:
"
string
"
,
"type"
:
"
text
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_index"
},
...
...
@@ -24,54 +22,45 @@
},
//近义词
"homoionym"
:
{
"type"
:
"string"
,
"index"
:
"not_analyzed"
"type"
:
"keyword"
},
//同义词
"synonym_names"
:
{
"type"
:
"string"
,
"index"
:
"not_analyzed"
"type"
:
"keyword"
},
//同义词
"pre_synonym_names"
:
{
"type"
:
"
string
"
,
"type"
:
"
text
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_index"
},
//类型
"project_tags"
:
{
"type"
:
"string"
,
"index"
:
"not_analyzed"
"type"
:
"keyword"
},
//
新标签
"first_demands"
:
{
"type"
:
"string"
,
"index"
:
"not_analyzed"
"type"
:
"keyword"
},
//
1
级诉求
"second_demands"
:
{
"type"
:
"string"
,
"index"
:
"not_analyzed"
"type"
:
"keyword"
},
//
2
级诉求
"first_solutions"
:
{
"type"
:
"string"
,
"index"
:
"not_analyzed"
"type"
:
"keyword"
},
//
1
级方式
"second_solutions"
:
{
"type"
:
"string"
,
"index"
:
"not_analyzed"
"type"
:
"keyword"
},
//
2
级方式
"first_positions"
:
{
"type"
:
"string"
,
"index"
:
"not_analyzed"
"type"
:
"keyword"
},
//
一级部位
"second_positions"
:
{
"type"
:
"string"
,
"index"
:
"not_analyzed"
"type"
:
"keyword"
},
//
项目ID
"project_tags_ids"
:
{
...
...
@@ -104,13 +93,11 @@
},
//新标签二级分类id集合
"first_classify_names"
:
{
"type"
:
"string"
,
"index"
:
"not_analyzed"
"type"
:
"keyword"
},
//新标签一级分类名称集合
"second_classify_names"
:
{
"type"
:
"string"
,
"index"
:
"not_analyzed"
"type"
:
"keyword"
}
//新标签二级分类名称集合
}
...
...
trans2es/mapping/tractate.json
View file @
b032baf7
{
"dynamic"
:
"strict"
,
"properties"
:
{
"id"
:
{
"type"
:
"long"
...
...
@@ -11,29 +10,27 @@
"type"
:
"long"
},
"content"
:
{
"type"
:
"
string
"
,
"type"
:
"
text
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
"content_pre"
:
{
"type"
:
"string"
,
"index"
:
"not_analyzed"
},
"type"
:
"keyword"
},
"good_click"
:
{
"type"
:
"long"
},
//帖子内容
"is_online"
:
{
"type"
:
"boolean"
},
"status"
:
{
"type"
:
"
string
"
"type"
:
"
keyword
"
},
"platform"
:
{
"type"
:
"
string
"
"type"
:
"
keyword
"
},
"content_level"
:
{
"type"
:
"string"
,
"index"
:
"not_analyzed"
},
"type"
:
"keyword"
},
"is_excellent"
:
{
"type"
:
"boolean"
},
...
...
@@ -66,42 +63,43 @@
"type"
:
"long"
},
"tag_name"
:
{
"type"
:
"string"
,
"index"
:
"not_analyzed"
},
"type"
:
"keyword"
},
"recommend_type"
:
{
"type"
:
"string"
,
"index"
:
"not_analyzed"
},
"type"
:
"keyword"
},
"tag_type"
:
{
"type"
:
"string"
,
"index"
:
"not_analyzed"
}
"type"
:
"keyword"
}
}
},
"tractate_tag_name"
:
{
"type"
:
"
string
"
,
"type"
:
"
text
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
"tractate_tag_name_content"
:
{
"type"
:
"
string
"
,
"type"
:
"
text
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//新标签
"fresh_tractate_tag_list"
:
{
"type"
:
"long"
},
"fresh_tractate_tag_name"
:
{
"type"
:
"
string
"
,
"type"
:
"
text
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
"fresh_tractate_tag_name_content"
:
{
"type"
:
"
string
"
,
"type"
:
"
text
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//相关标签
"post_time"
:
{
...
...
@@ -109,9 +107,8 @@
"format"
:
"date_time_no_millis"
},
"author"
:
{
"type"
:
"string"
,
"index"
:
"not_analyzed"
},
"type"
:
"keyword"
},
"is_video"
:
{
"type"
:
"boolean"
},
...
...
@@ -126,18 +123,18 @@
"type"
:
"long"
},
//作者
"content_keyword"
:{
"type"
:
"
string"
,
"index"
:
"not_analyze
d"
},
"content_star_keyword"
:{
"type"
:
"
string"
,
"index"
:
"not_analyze
d"
},
"content_star_first_keyword"
:{
"type"
:
"
string"
,
"index"
:
"not_analyze
d"
},
"title_keyword"
:{
"type"
:
"
string"
,
"index"
:
"not_analyze
d"
},
"content_keyword"
:{
"type"
:
"
keywor
d"
},
"content_star_keyword"
:{
"type"
:
"
keywor
d"
},
"content_star_first_keyword"
:{
"type"
:
"
keywor
d"
},
"title_keyword"
:{
"type"
:
"
keywor
d"
},
"has_service"
:{
"type"
:
"boolean"
},
//
该帖子对应的标签和关键字有没有关联的美购
"tags_v3"
:
{
"type"
:
"
string"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
}
,
//
新标签
"first_demands"
:
{
"type"
:
"
string"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
}
,
//
1
级诉求
"second_demands"
:
{
"type"
:
"
string"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
}
,
//
2
级诉求
"first_solutions"
:
{
"type"
:
"
string"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
}
,
//
1
级方式
"second_solutions"
:
{
"type"
:
"
string"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
}
,
//
2
级方式
"positions"
:
{
"type"
:
"
string"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
}
,
//
部位
"second_positions"
:
{
"type"
:
"
string"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
}
,
//
二级部位
"tags_v3"
:
{
"type"
:
"
text"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
,
//
新标签
"first_demands"
:
{
"type"
:
"
text"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
,
//
1
级诉求
"second_demands"
:
{
"type"
:
"
text"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
,
//
2
级诉求
"first_solutions"
:
{
"type"
:
"
text"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
,
//
1
级方式
"second_solutions"
:
{
"type"
:
"
text"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
,
//
2
级方式
"positions"
:
{
"type"
:
"
text"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
,
//
部位
"second_positions"
:
{
"type"
:
"
text"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
,
//
二级部位
"tagv3_ids"
:
{
"type"
:
"long"
},
//新标签id集合
"first_demands_ids"
:
{
"type"
:
"long"
},
"second_demands_ids"
:
{
"type"
:
"long"
},
...
...
@@ -147,12 +144,12 @@
"second_positions_ids"
:
{
"type"
:
"long"
},
"first_classify_ids"
:
{
"type"
:
"long"
},
//新标签一级分类id集合
"second_classify_ids"
:
{
"type"
:
"long"
},
//新标签二级分类id集合
"first_classify_names"
:
{
"type"
:
"
string"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
}
,
//新标签一级分类名称集合
"second_classify_names"
:
{
"type"
:
"
string"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
}
,
//新标签二级分类名称集合
"first_classify_names"
:
{
"type"
:
"
text"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
,
//新标签一级分类名称集合
"second_classify_names"
:
{
"type"
:
"
text"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
,
//新标签二级分类名称集合
"operators_add_tags"
:{
"type"
:
"long"
},
//新标签中运营添加的词
EXCHANGE交易运营
COMMUNITY社区运营
"channel_tags"
:{
"type"
:
"long"
},
//渠道标签
"channel_tags_names"
:{
"type"
:
"
string"
,
"index"
:
"not_analyze
d"
},
//渠道标签
"anecdote_tags"
:
{
"type"
:
"
string"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
}
,
//八卦标签名称
"channel_tags_names"
:{
"type"
:
"
keywor
d"
},
//渠道标签
"anecdote_tags"
:
{
"type"
:
"
text"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
,
//八卦标签名称
"anecdote_tag_ids"
:
{
"type"
:
"long"
},
//八卦标签ID
//最新互动时间
"latest_interaction_time"
:
{
"type"
:
"long"
},
...
...
@@ -165,7 +162,7 @@
"pgc_type"
:{
"type"
:
"long"
},
//
1
:热点,
2
:科普,
3
:转化
"is_need_guarantee"
:
{
"type"
:
"boolean"
},
//是否需要保量
"content_simi_bol_show"
:{
"type"
:
"long"
},
//当存在内容相同的帖子时
质量分低的会被置为False
,
质量分高的会被置为True
false则被降到底部
"keynote_sentence"
:
{
"type"
:
"
string
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
"keynote_sentence"
:
{
"type"
:
"
text
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
"has_picture"
:
{
"type"
:
"long"
},
"new_smr"
:
{
"type"
:
"double"
},
//最新的smart_rank分数
"show_by_index"
:
{
"type"
:
"long"
},
//根据指标判断是否展示改帖子
0
是正常展示
1
不展示
...
...
trans2es/mapping/user.json
View file @
b032baf7
{
"dynamic"
:
"strict"
,
"properties"
:
{
"id"
:{
"type"
:
"long"
},
"last_name"
:{
"type"
:
"
string
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//昵称
"last_name_not_analyzed"
:
{
"type"
:
"
string"
,
"index"
:
"not_analyze
d"
},
//昵称
"last_name_2grams"
:
{
"type"
:
"string"
,
"index"
:
"not_analyzed"
},
//昵称
-2
grams
"last_name"
:{
"type"
:
"
text
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//昵称
"last_name_not_analyzed"
:
{
"type"
:
"
keywor
d"
},
//昵称
"last_name_2grams"
:
{
"type"
:
"string"
},
//昵称
-2
grams
"is_active"
:{
"type"
:
"boolean"
},
//后台勾选有效且不在黑名单
"membership_level"
:{
"type"
:
"string"
,
"index"
:
"not_analyzed"
},
//会员等级(普通
,
达人)
"membership_level"
:{
"type"
:
"string"
},
//会员等级(普通
,
达人)
"last_login"
:{
//最后登陆
"type"
:
"date"
,
"format"
:
"date_time_no_millis"
...
...
trans2es/mapping/user_album.json
View file @
b032baf7
{
"dynamic"
:
"strict"
,
"properties"
:
{
"id"
:{
"type"
:
"long"
},
"album"
:{
//直接关联的services
...
...
trans2es/mapping/wiki_keyword.json
View file @
b032baf7
{
"dynamic"
:
"strict"
,
"properties"
:
{
"id"
:
{
"type"
:
"long"
},
"wiki_id"
:
{
"type"
:
"long"
},
"name"
:
{
"type"
:
"
string
"
},
//wiki名称
"name"
:
{
"type"
:
"
keyword
"
},
//wiki名称
"is_online"
:{
"type"
:
"boolean"
},
//是否上线
"wiki_type"
:{
"type"
:
"long"
},
//百科类型
"visit_num"
:{
"type"
:
"long"
},
//点击次数
"city_id"
:{
"type"
:
"
string
"
},
//城市id
"city_id"
:{
"type"
:
"
keyword
"
},
//城市id
"rank"
:{
"type"
:
"long"
},
//排名
"visit_time"
:{
//最后回复时间(排序用)
"type"
:
"string"
}
"visit_time"
:{
"type"
:
"keyword"
}
//最后回复时间(排序用)
}
}
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