Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
bi-report
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
data
bi-report
Commits
b4c77cbb
Commit
b4c77cbb
authored
Jun 23, 2020
by
魏艺敏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update codes
parent
dfdb982d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
5 deletions
+6
-5
en-cn.properties
conf/en-cn.properties
+1
-0
search_related.sh
shells/search_related/search_related.sh
+4
-4
search_click_path_insert.sql
sqls/search_related_insert/search_click_path_insert.sql
+1
-1
No files found.
conf/en-cn.properties
View file @
b4c77cbb
...
...
@@ -12,4 +12,5 @@ daily_content_data=内容日报-新
search_click_path
=
分搜索入口的搜索框点击数据
search_result_click_rate
=
分搜索词转化率数据
search_input_type
=
分搜索方式近7天数据
search_related
=
分搜索方式及搜索词日报
daily_recommend_strategy
=
首页推荐策略日报
shells/search_related/search_related.sh
View file @
b4c77cbb
...
...
@@ -42,8 +42,8 @@ FROM
,case when action='on_click_navbar_search' and page_name='home' then '首页搜索框'
when action='on_click_navbar_search' and page_name='welfare_home' then '美购首页搜索框'
when action='on_click_navbar_search' and page_name='category' then '品类聚合页搜索框'
when action='on_click_navbar_search' and page_name='welfare_list' and referrer_link ='["
home
","
category
"]' then '
来自品类聚合的美购列表页搜索框
'
when action='on_click_navbar_search' and page_name='welfare_list' and referrer_link ='["
welfare_home
"]' then '
来自美购首页的美购列表页搜索框
'
when action='on_click_navbar_search' and page_name='welfare_list' and referrer_link ='["
home
","
category
"]' then '
从品类到美购列表
'
when action='on_click_navbar_search' and page_name='welfare_list' and referrer_link ='["
welfare_home
"]' then '
从美购首页到美购列表
'
when action in ('do_search','on_click_navbar_search')
and page_name in ('diary_detail','topic_detail','post_detail','user_post_detail'
,'doctor_post_detail','question_detail','answer_detail','question_answer_detail') then '内容详情页搜索框'
...
...
@@ -113,8 +113,8 @@ FROM
,case when action='on_click_navbar_search' and page_name='home' then '首页搜索框'
when action='on_click_navbar_search' and page_name='welfare_home' then '美购首页搜索框'
when action='on_click_navbar_search' and page_name='category' then '品类聚合页搜索框'
when action='on_click_navbar_search' and page_name='welfare_list' and referrer_link ='["
home
","
category
"]' then '
来自品类聚合的美购列表页搜索框
'
when action='on_click_navbar_search' and page_name='welfare_list' and referrer_link ='["
welfare_home
"]' then '
来自美购首页的美购列表页搜索框
'
when action='on_click_navbar_search' and page_name='welfare_list' and referrer_link ='["
home
","
category
"]' then '
从品类到美购列表
'
when action='on_click_navbar_search' and page_name='welfare_list' and referrer_link ='["
welfare_home
"]' then '
从美购首页到美购列表
'
when action in ('do_search','on_click_navbar_search')
and page_name in ('diary_detail','topic_detail','post_detail','user_post_detail'
,'doctor_post_detail','question_detail','answer_detail','question_answer_detail') then '内容详情页搜索框'
...
...
sqls/search_related_insert/search_click_path_insert.sql
View file @
b4c77cbb
...
...
@@ -69,7 +69,7 @@ FROM
union
all
SELECT
partition_date
,
cl_id
,
null
as
page_name
,
'热搜词'
as
action
,
null
as
referrer_link
SELECT
partition_date
,
cl_id
,
page_name
,
'热搜词'
as
action
,
null
as
referrer_link
FROM
online
.
bl_hdfs_maidian_updates
where
partition_date
=
regexp_replace
(
DATE_SUB
(
current_date
,
1
)
,
'-'
,
''
)
AND
action
=
'on_click_card'
...
...
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