Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
physical
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
钟尚武
physical
Commits
22d7bcc2
Commit
22d7bcc2
authored
Apr 29, 2019
by
黄凯
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'hk' into 'test'
update See merge request alpha/physical!311
parents
8d266f55
1550755f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
es.py
libs/es.py
+1
-1
No files found.
libs/es.py
View file @
22d7bcc2
...
@@ -431,7 +431,7 @@ class ESPerform(object):
...
@@ -431,7 +431,7 @@ class ESPerform(object):
topic_id_list
=
[
item
[
"_source"
][
"id"
]
for
item
in
result_dict
[
"hits"
]]
topic_id_list
=
[
item
[
"_source"
][
"id"
]
for
item
in
result_dict
[
"hits"
]]
# logging.info("topic_id_list:%s" % str(topic_id_list))
# logging.info("topic_id_list:%s" % str(topic_id_list))
topic_id_dict
=
[{
str
(
item
[
"_source"
][
"id"
]):
item
[
"_source"
][
"user_id"
]}
for
item
in
result_dict
[
"hits"
]]
topic_id_dict
=
[{
str
(
item
[
"_source"
][
"id"
]):
item
[
"_source"
][
"user_id"
]}
for
item
in
result_dict
[
"hits"
]]
# logging.info("topic_id_list:%s" % str(topic_id_lis
t))
logging
.
info
(
"topic_id_list:
%
s"
%
str
(
topic_id_dic
t
))
return
topic_id_list
,
topic_id_dict
return
topic_id_list
,
topic_id_dict
except
:
except
:
...
...
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