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
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
148 additions
and
197 deletions
+148
-197
problem.json
trans2es/mapping/problem.json
+10
-12
question.json
trans2es/mapping/question.json
+22
-22
service.json
trans2es/mapping/service.json
+0
-0
service_ngram.json
trans2es/mapping/service_ngram.json
+0
-0
service_norms_disable.json
trans2es/mapping/service_norms_disable.json
+0
-0
sku.json
trans2es/mapping/sku.json
+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
This diff is collapsed.
Click to expand it.
trans2es/mapping/service_ngram.json
View file @
b032baf7
This diff is collapsed.
Click to expand it.
trans2es/mapping/service_norms_disable.json
View file @
b032baf7
This diff is collapsed.
Click to expand it.
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