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
0c0a4949
Commit
0c0a4949
authored
Nov 04, 2020
by
李小芳
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改mapping
parent
33d01f6f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
25 deletions
+23
-25
article.json
trans2es/mapping/article.json
+23
-25
No files found.
trans2es/mapping/article.json
View file @
0c0a4949
{
"dynamic"
:
"strict"
,
"properties"
:
{
"mappings"
:
{
"properties"
:
{
"is_online"
:{
"type"
:
"boolean"
},
"id"
:{
"type"
:
"long"
},
"article_id"
:{
"type"
:
"long"
},
"smart_rank"
:{
"type"
:
"long"
},
"title"
:{
"type"
:
"
string
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//专栏标题
"content"
:{
"type"
:
"
string
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//专栏内容
"title"
:{
"type"
:
"
text
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//专栏标题
"content"
:{
"type"
:
"
text
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//专栏内容
//
相关推荐
,
得分
"recommend_score"
:
{
"type"
:
"double"
},
"tag_ids"
:{
"type"
:
"long"
},
"tags"
:{
"type"
:
"
string
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//tags
"tags"
:{
"type"
:
"
text
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//tags
//
新标签
"fresh_tag_ids"
:{
"type"
:
"long"
},
"fresh_tags"
:{
"type"
:
"string"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//tags
"fresh_tags"
:{
"type"
:
"text"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//tags
"user"
:{
"type"
:
"object"
,
"properties"
:{
...
...
@@ -23,37 +21,36 @@
}
},
"ask"
:
{
"type"
:
"
string
"
,
"type"
:
"
text
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_index"
,
"index_options"
:
"offsets"
},
//专栏副标题
"title_pre"
:
{
"type"
:
"
string
"
,
"type"
:
"
text
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_index"
,
"index_options"
:
"offsets"
},
"content_pre"
:
{
"type"
:
"
string
"
,
"type"
:
"
text
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_index"
,
"index_options"
:
"offsets"
},
"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"
},
"tags_v3"
:
{
"type"
:
"
string
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//
新标签
"content_keyword"
:{
"type"
:
"
keywor
d"
},
"content_star_keyword"
:{
"type"
:
"
keywor
d"
},
"content_star_first_keyword"
:{
"type"
:
"
keywor
d"
},
"title_keyword"
:{
"type"
:
"
keywor
d"
},
"tags_v3"
:
{
"type"
:
"
text
"
,
"analyzer"
:
"gm_default_index"
,
"search_analyzer"
:
"gm_default_search"
},
//
新标签
"tagv3_ids"
:
{
"type"
:
"long"
},
//新标签id集合
"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"
},
//
2
级部位
"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"
},
//
2
级部位
"tagv3_ids"
:
{
"type"
:
"long"
},
//新标签id集合
"first_demands_ids"
:
{
"type"
:
"long"
},
"second_demands_ids"
:
{
"type"
:
"long"
},
...
...
@@ -63,9 +60,10 @@
"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"
}
//新标签二级分类名称集合
}
}
}
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