Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
tb_goods
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bigdata
tb_goods
Commits
ff7562d3
Commit
ff7562d3
authored
Jun 11, 2021
by
杨林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
商品库建库json
parent
3dd297b9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
133 additions
and
0 deletions
+133
-0
src/main/scala/tools/es/create_es.json
src/main/scala/tools/es/create_es.json
+133
-0
No files found.
src/main/scala/tools/es/create_es.json
0 → 100644
View file @
ff7562d3
{
"settings"
:
{
"number_of_shards"
:
1
,
"number_of_replicas"
:
1
,
"analysis"
:
{
"analyzer"
:
{
"label_analyzer"
:
{
"type"
:
"pattern"
,
"pattern"
:
","
},
"category_analyzer"
:
{
"type"
:
"pattern"
,
"pattern"
:
"/"
}
}
}
},
"mappings"
:
{
"properties"
:
{
"platform"
:
{
"type"
:
"integer"
},
"item_id"
:
{
"type"
:
"keyword"
},
"item_name"
:
{
"search_analyzer"
:
"ik_smart"
,
"similarity"
:
"BM25"
,
"analyzer"
:
"ik_max_word"
,
"type"
:
"text"
},
"item_desc"
:
{
"search_analyzer"
:
"ik_smart"
,
"similarity"
:
"BM25"
,
"analyzer"
:
"ik_max_word"
,
"type"
:
"text"
},
"brand_name"
:
{
"type"
:
"keyword"
},
"item_url"
:
{
"type"
:
"keyword"
},
"item_pic_url"
:
{
"type"
:
"keyword"
},
"item_volume"
:
{
"type"
:
"integer"
},
"origin_category"
:
{
"type"
:
"text"
,
"analyzer"
:
"category_analyzer"
,
"search_analyzer"
:
"category_analyzer"
,
"similarity"
:
"BM25"
},
"new_category"
:
{
"type"
:
"text"
,
"analyzer"
:
"category_analyzer"
,
"search_analyzer"
:
"category_analyzer"
,
"similarity"
:
"BM25"
},
"price"
:
{
"type"
:
"double"
},
"coupon_price"
:
{
"type"
:
"double"
},
"commission_rate"
:
{
"type"
:
"double"
},
"coupon_commission"
:
{
"type"
:
"double"
},
"commission_start_time"
:
{
"type"
:
"long"
},
"commission_end_time"
:
{
"type"
:
"long"
},
"coupon_amount"
:
{
"type"
:
"double"
},
"coupon_tips"
:
{
"type"
:
"keyword"
},
"coupon_count"
:
{
"type"
:
"integer"
},
"coupon_remain"
:
{
"type"
:
"integer"
},
"coupon_start_time"
:
{
"type"
:
"long"
},
"coupon_end_time"
:
{
"type"
:
"long"
},
"coupon_link"
:
{
"type"
:
"keyword"
},
"item_label"
:
{
"type"
:
"text"
,
"analyzer"
:
"label_analyzer"
,
"search_analyzer"
:
"label_analyzer"
,
"similarity"
:
"BM25"
},
"shop_id"
:
{
"type"
:
"keyword"
},
"shop_name"
:
{
"type"
:
"keyword"
},
"shop_level"
:
{
"type"
:
"integer"
},
"description_level"
:
{
"type"
:
"double"
},
"express_level"
:
{
"type"
:
"double"
},
"server_level"
:
{
"type"
:
"double"
},
"shop_type"
:
{
"type"
:
"integer"
},
"createTime"
:
{
"type"
:
"long"
}
}
}
}
\ No newline at end of file
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