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
4715b760
Commit
4715b760
authored
Nov 05, 2020
by
李小芳
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改mapping
parent
b032baf7
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
262 additions
and
79 deletions
+262
-79
answer.json
trans2es/mapping/answer.json
+262
-78
consultant.json
trans2es/mapping/consultant.json
+0
-1
No files found.
trans2es/mapping/answer.json
View file @
4715b760
{
{
"dynamic"
:
"strict"
,
"properties"
:
{
"properties"
:
{
"id"
:{
"type"
:
"long"
},
"id"
:
{
"is_online"
:{
"type"
:
"boolean"
},
"type"
:
"long"
"question_id"
:{
"type"
:
"long"
},
},
"smart_rank"
:{
"type"
:
"long"
},
"is_online"
:
{
"smart_rank_v2"
:{
"type"
:
"double"
},
"type"
:
"boolean"
"smart_rank_v3"
:{
"type"
:
"double"
},
},
"title"
:{
"type"
:
"string"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//问题标题
"question_id"
:
{
"desc"
:{
"type"
:
"string"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//问题描述
"type"
:
"long"
"answer"
:{
"type"
:
"string"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//回答内容
},
//
相关推荐
,
得分
"smart_rank"
:
{
"recommend_score"
:
{
"type"
:
"double"
},
"type"
:
"long"
"tag_ids"
:
{
"type"
:
"long"
},
},
"tag_name"
:
{
"type"
:
"string"
},
"smart_rank_v2"
:
{
"tag_name_analyze"
:
{
"type"
:
"string"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
"type"
:
"double"
//
新标签
},
"fresh_tag_ids"
:
{
"type"
:
"long"
},
"smart_rank_v3"
:
{
"fresh_tag_name"
:
{
"type"
:
"string"
},
"type"
:
"double"
"good_click"
:
{
"type"
:
"long"
},
},
"title"
:
{
"content_level"
:{
"type"
:
"string"
,
"index"
:
"not_analyzed"
},
"type"
:
"text"
,
"is_gte_3_content_level"
:{
"type"
:
"boolean"
},
//
星级是否大于或等于三级
"analyzer"
:
"gm_default_index"
,
"sort_score"
:{
"type"
:
"double"
},
//
内容星级
*
1
+
点赞
*
0.3
+
评论
*
0.7
"search_analyzer"
:
"gm_default_search"
"has_picture"
:{
"type"
:
"boolean"
},
//
回答及其问题是否有图片
},
"content_length"
:
{
"type"
:
"long"
},
"desc"
:
{
"user_id"
:
{
"type"
:
"long"
},
"type"
:
"text"
,
"user_type"
:
{
"type"
:
"long"
},
"analyzer"
:
"gm_default_index"
,
"question_type"
:{
"type"
:
"long"
},
"search_analyzer"
:
"gm_default_search"
"content_type"
:
{
"type"
:
"string"
},
//
回答内容类型(普通、视频)
},
"is_recommend"
:
{
"type"
:
"boolean"
},
//是否推荐回答
"answer"
:
{
"create_time"
:{
"type"
:
"date"
,
"format"
:
"date_time_no_millis"
},
//创建时间
"type"
:
"text"
,
"create_time_epoch"
:{
"type"
:
"long"
},
//创建时间
"analyzer"
:
"gm_default_index"
,
"title_pre"
:
{
"type"
:
"string"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_index"
,
"index_options"
:
"offsets"
},
"search_analyzer"
:
"gm_default_search"
"desc_pre"
:
{
"type"
:
"string"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_index"
,
"index_options"
:
"offsets"
},
},
"answer_pre"
:
{
"type"
:
"string"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_index"
,
"index_options"
:
"offsets"
},
"recommend_score"
:
{
"hot_score"
:{
"type"
:
"long"
},
//热度
"type"
:
"double"
"last_any_reply_time"
:{
"type"
:
"date"
,
"format"
:
"date_time_no_millis"
},
},
"content_keyword"
:{
"type"
:
"string"
,
"index"
:
"not_analyzed"
},
"tag_ids"
:
{
"content_star_keyword"
:{
"type"
:
"string"
,
"index"
:
"not_analyzed"
},
"type"
:
"long"
"content_star_first_keyword"
:{
"type"
:
"string"
,
"index"
:
"not_analyzed"
},
},
"title_keyword"
:{
"type"
:
"string"
,
"index"
:
"not_analyzed"
},
"tag_name"
:
{
"has_service"
:{
"type"
:
"boolean"
},
//
该问答对应的标签和关键字有没有关联的美购
"type"
:
"text"
,
"tags_v3"
:
{
"type"
:
"string"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//
新标签
"analyzer"
:
"gm_default_index"
,
"first_demands"
:
{
"type"
:
"string"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//
1
级诉求
"search_analyzer"
:
"gm_default_search"
"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
级方式
"tag_name_analyze"
:
{
"second_solutions"
:
{
"type"
:
"string"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//
2
级方式
"type"
:
"text"
,
"positions"
:
{
"type"
:
"string"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//
部位
"analyzer"
:
"gm_default_index"
,
"second_positions"
:
{
"type"
:
"string"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//
二级部位
"search_analyzer"
:
"gm_default_search"
"tagv3_ids"
:
{
"type"
:
"long"
},
//新标签id集合
},
"first_demands_ids"
:
{
"type"
:
"long"
},
"fresh_tag_ids"
:
{
"second_demands_ids"
:
{
"type"
:
"long"
},
"type"
:
"long"
"first_solutions_ids"
:
{
"type"
:
"long"
},
},
"second_solutions_ids"
:
{
"type"
:
"long"
},
"fresh_tag_name"
:
{
"first_positions_ids"
:
{
"type"
:
"long"
},
"type"
:
"text"
,
"second_positions_ids"
:
{
"type"
:
"long"
},
"analyzer"
:
"gm_default_index"
,
"first_classify_ids"
:
{
"type"
:
"long"
},
//新标签一级分类id集合
"search_analyzer"
:
"gm_default_search"
"second_classify_ids"
:
{
"type"
:
"long"
},
//新标签二级分类id集合
},
"first_classify_names"
:
{
"type"
:
"string"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//新标签一级分类名称集合
"good_click"
:
{
"second_classify_names"
:
{
"type"
:
"string"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//新标签二级分类名称集合
"type"
:
"long"
"reply_number"
:{
"type"
:
"long"
},
},
"vote_number"
:{
"type"
:
"long"
},
"content_level"
:
{
"reply_vote_emt"
:{
"type"
:
"double"
},
"type"
:
"keyword"
//最新互动时间
},
"latest_interaction_time"
:
{
"type"
:
"long"
},
"is_gte_3_content_level"
:
{
"latest_create_or_reply_time"
:
{
"type"
:
"long"
},
"type"
:
"boolean"
"goodclick_rate_30"
:{
"type"
:
"long"
},
},
"is_need_guarantee"
:
{
"type"
:
"boolean"
},
//是否需要保量
"sort_score"
:
{
"keynote_sentence"
:
{
"type"
:
"string"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
"type"
:
"double"
"operators_add_tags"
:{
"type"
:
"long"
},
//新标签中运营添加的词
EXCHANGE交易运营
COMMUNITY社区运营
},
"anecdote_tags"
:
{
"type"
:
"string"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//八卦标签名称
"has_picture"
:
{
"anecdote_tag_ids"
:
{
"type"
:
"long"
},
//八卦标签ID
"type"
:
"boolean"
"new_smr"
:
{
"type"
:
"double"
},
//最新的smart_rank分数
},
"show_by_index"
:
{
"type"
:
"long"
},
//根据指标判断是否展示改帖子
0
是正常展示
1
不展示
"content_length"
:
{
"search_new_smr"
:
{
"type"
:
"double"
},
//最新的搜索smart_rank分数
"type"
:
"long"
"update_time_stratific"
:
{
"type"
:
"long"
},
//根据创建和修改时间
30
天为一个时间段
30-90
天为一个时间段
90-365
为一个时间段
365
之后为一个时间段
},
"new_goodclicks"
:
{
"type"
:
"double"
},
//最新的goodclick
"user_id"
:
{
"has_video"
:
{
"type"
:
"boolean"
}
"type"
:
"long"
},
"user_type"
:
{
"type"
:
"long"
},
"question_type"
:
{
"type"
:
"long"
},
"content_type"
:
{
"type"
:
"keyword"
},
"is_recommend"
:
{
"type"
:
"boolean"
},
"create_time"
:
{
"type"
:
"date"
,
"format"
:
"date_time_no_millis"
},
"create_time_epoch"
:
{
"type"
:
"long"
},
"title_pre"
:
{
"type"
:
"text"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_index"
},
"desc_pre"
:
{
"type"
:
"text"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_index"
},
"answer_pre"
:
{
"type"
:
"text"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_index"
},
"hot_score"
:
{
"type"
:
"long"
},
"last_any_reply_time"
:
{
"type"
:
"date"
,
"format"
:
"date_time_no_millis"
},
"content_keyword"
:
{
"type"
:
"keyword"
},
"content_star_keyword"
:
{
"type"
:
"keyword"
},
"content_star_first_keyword"
:
{
"type"
:
"keyword"
},
"title_keyword"
:
{
"type"
:
"keyword"
},
"has_service"
:
{
"type"
:
"boolean"
},
"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"
},
"second_demands"
:
{
"type"
:
"text"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
"first_solutions"
:
{
"type"
:
"text"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
"second_solutions"
:
{
"type"
:
"text"
,
"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"
},
"first_demands_ids"
:
{
"type"
:
"long"
},
"second_demands_ids"
:
{
"type"
:
"long"
},
"first_solutions_ids"
:
{
"type"
:
"long"
},
"second_solutions_ids"
:
{
"type"
:
"long"
},
"first_positions_ids"
:
{
"type"
:
"long"
},
"second_positions_ids"
:
{
"type"
:
"long"
},
"first_classify_ids"
:
{
"type"
:
"long"
},
"second_classify_ids"
:
{
"type"
:
"long"
},
"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"
},
"reply_number"
:
{
"type"
:
"long"
},
"vote_number"
:
{
"type"
:
"long"
},
"reply_vote_emt"
:
{
"type"
:
"double"
},
"latest_interaction_time"
:
{
"type"
:
"long"
},
"latest_create_or_reply_time"
:
{
"type"
:
"long"
},
"goodclick_rate_30"
:
{
"type"
:
"long"
},
"is_need_guarantee"
:
{
"type"
:
"boolean"
},
"keynote_sentence"
:
{
"type"
:
"text"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
"operators_add_tags"
:
{
"type"
:
"long"
},
"anecdote_tags"
:
{
"type"
:
"text"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
"anecdote_tag_ids"
:
{
"type"
:
"long"
},
"new_smr"
:
{
"type"
:
"double"
},
"show_by_index"
:
{
"type"
:
"long"
},
"search_new_smr"
:
{
"type"
:
"double"
},
"update_time_stratific"
:
{
"type"
:
"long"
},
"new_goodclick"
:
{
"type"
:
"long"
},
"has_video"
:
{
"type"
:
"boolean"
}
}
}
}
}
\ No newline at end of file
trans2es/mapping/consultant.json
View file @
4715b760
{
{
"dynamic"
:
"strict"
,
"properties"
:
{
"properties"
:
{
"id"
:{
"type"
:
"keyword"
},
//
面诊顾问ID
"id"
:{
"type"
:
"keyword"
},
//
面诊顾问ID
"is_online"
:{
"type"
:
"boolean"
},
//医生是否在线
或面诊师本身是否在线
"is_online"
:{
"type"
:
"boolean"
},
//医生是否在线
或面诊师本身是否在线
...
...
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