Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
cybertron
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
alpha
cybertron
Commits
99e4851b
Commit
99e4851b
authored
Jul 22, 2019
by
lixiaofang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add
parent
779e8f09
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
68 additions
and
48 deletions
+68
-48
workspace.xml
.idea/workspace.xml
+67
-47
tag.py
index_contrast/tag.py
+1
-1
No files found.
.idea/workspace.xml
View file @
99e4851b
<?xml version="1.0" encoding="UTF-8"?>
<project
version=
"4"
>
<component
name=
"ChangeListManager"
>
<list
default=
"true"
id=
"7b835479-ee84-40d6-9b97-0e9285d92119"
name=
"Default Changelist"
comment=
""
/>
<list
default=
"true"
id=
"7b835479-ee84-40d6-9b97-0e9285d92119"
name=
"Default Changelist"
comment=
""
>
<change
beforePath=
"$PROJECT_DIR$/.idea/workspace.xml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/.idea/workspace.xml"
afterDir=
"false"
/>
</list>
<option
name=
"EXCLUDED_CONVERTED_TO_IGNORED"
value=
"true"
/>
<option
name=
"SHOW_DIALOG"
value=
"false"
/>
<option
name=
"HIGHLIGHT_CONFLICTS"
value=
"true"
/>
<option
name=
"HIGHLIGHT_NON_ACTIVE_CHANGELIST"
value=
"false"
/>
...
...
@@ -12,14 +15,14 @@
<usages-collector
id=
"statistics.file.extensions.open"
>
<counts>
<entry
key=
"README"
value=
"1"
/>
<entry
key=
"py"
value=
"3
3
"
/>
<entry
key=
"py"
value=
"3
4
"
/>
<entry
key=
"txt"
value=
"3"
/>
</counts>
</usages-collector>
<usages-collector
id=
"statistics.file.types.open"
>
<counts>
<entry
key=
"PLAIN_TEXT"
value=
"4"
/>
<entry
key=
"Python"
value=
"3
3
"
/>
<entry
key=
"Python"
value=
"3
4
"
/>
</counts>
</usages-collector>
<usages-collector
id=
"statistics.file.extensions.edit"
>
...
...
@@ -36,18 +39,32 @@
</usages-collector>
<usages-collector
id=
"statistics.lifecycle.project"
>
<counts>
<entry
key=
"project.closed"
value=
"1"
/>
<entry
key=
"project.closed"
value=
"3"
/>
<entry
key=
"project.open.time.17"
value=
"1"
/>
<entry
key=
"project.opened"
value=
"1"
/>
</counts>
</usages-collector>
</session>
</component>
<component
name=
"FileEditorManager"
>
<leaf
SIDE_TABS_SIZE_LIMIT_KEY=
"300"
>
<file
pinned=
"false"
current-in-tab=
"
tru
e"
>
<file
pinned=
"false"
current-in-tab=
"
fals
e"
>
<entry
file=
"file://$PROJECT_DIR$/auto_request.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"220"
>
<caret
line=
"17"
column=
"18"
selection-start-line=
"17"
selection-start-column=
"18"
selection-end-line=
"17"
selection-end-column=
"52"
/>
<state
relative-caret-position=
"90"
>
<caret
line=
"17"
column=
"40"
selection-start-line=
"17"
selection-start-column=
"37"
selection-end-line=
"17"
selection-end-column=
"40"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"true"
>
<entry
file=
"file://$PROJECT_DIR$/test.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"60"
>
<caret
line=
"4"
column=
"35"
selection-start-line=
"4"
selection-start-column=
"35"
selection-end-line=
"4"
selection-end-column=
"35"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
</folding>
...
...
@@ -125,20 +142,21 @@
<option
value=
"$PROJECT_DIR$/index_contrast/tag.py"
/>
<option
value=
"$PROJECT_DIR$/index_contrast/pictorial.py"
/>
<option
value=
"$PROJECT_DIR$/index_contrast/user.py"
/>
<option
value=
"$PROJECT_DIR$/test.py"
/>
</list>
</option>
</component>
<component
name=
"ProjectFrameBounds"
>
<option
name=
"y"
value=
"23"
/>
<option
name=
"width"
value=
"1280"
/>
<option
name=
"height"
value=
"717"
/>
<component
name=
"ProjectFrameBounds"
extendedState=
"6"
>
<option
name=
"x"
value=
"-323"
/>
<option
name=
"y"
value=
"-1080"
/>
<option
name=
"width"
value=
"1920"
/>
<option
name=
"height"
value=
"1080"
/>
</component>
<component
name=
"ProjectView"
>
<navigator
proportions=
""
version=
"1"
>
<foldersAlwaysOnTop
value=
"true"
/>
</navigator>
<panes>
<pane
id=
"Scope"
/>
<pane
id=
"ProjectPane"
>
<subPane>
<expand>
...
...
@@ -150,6 +168,7 @@
<select
/>
</subPane>
</pane>
<pane
id=
"Scope"
/>
</panes>
</component>
<component
name=
"RecentsManager"
>
...
...
@@ -208,7 +227,6 @@
</component>
<component
name=
"ToolWindowManager"
>
<frame
x=
"0"
y=
"23"
width=
"1280"
height=
"717"
extended-state=
"0"
/>
<editor
active=
"true"
/>
<layout>
<window_info
id=
"Structure"
order=
"0"
sideWeight=
"0.21188119"
side_tool=
"true"
weight=
"0.19112115"
/>
<window_info
id=
"Favorites"
order=
"1"
side_tool=
"true"
/>
...
...
@@ -222,7 +240,7 @@
<window_info
anchor=
"bottom"
id=
"Inspection"
order=
"5"
weight=
"0.4"
/>
<window_info
anchor=
"bottom"
id=
"TODO"
order=
"6"
/>
<window_info
anchor=
"bottom"
id=
"Version Control"
order=
"7"
show_stripe_button=
"false"
/>
<window_info
active=
"true"
anchor=
"bottom"
id=
"Terminal"
order=
"8"
sideWeight=
"0.49960285"
visible=
"true"
weight=
"0.
0
"
/>
<window_info
active=
"true"
anchor=
"bottom"
id=
"Terminal"
order=
"8"
sideWeight=
"0.49960285"
visible=
"true"
weight=
"0.
29235882
"
/>
<window_info
anchor=
"bottom"
id=
"Event Log"
order=
"9"
sideWeight=
"0.50039715"
side_tool=
"true"
weight=
"0.32890365"
/>
<window_info
anchor=
"bottom"
id=
"Python Console"
order=
"10"
/>
<window_info
anchor=
"bottom"
id=
"DB Execution Console"
order=
"11"
/>
...
...
@@ -338,9 +356,6 @@
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"145"
>
<caret
line=
"25"
column=
"12"
lean-forward=
"true"
selection-start-line=
"25"
selection-start-column=
"12"
selection-end-line=
"25"
selection-end-column=
"12"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
...
...
@@ -362,9 +377,6 @@
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"404"
>
<caret
line=
"28"
selection-start-line=
"28"
selection-end-line=
"28"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
...
...
@@ -470,39 +482,19 @@
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_comment_51.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state>
<folding>
<element
signature=
"e#0#11#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
<provider
selected=
"true"
editor-type-id=
"text-editor"
/>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_every_day.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
<provider
selected=
"true"
editor-type-id=
"text-editor"
/>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_follow_new.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"-100"
>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
</folding>
</state>
<state
relative-caret-position=
"-100"
/>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_follow_majia.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"-69"
>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
</folding>
</state>
<state
relative-caret-position=
"-69"
/>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/index_contrast/topic.py"
>
...
...
@@ -556,13 +548,41 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_request.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"90"
>
<caret
line=
"17"
column=
"40"
selection-start-line=
"17"
selection-start-column=
"37"
selection-end-line=
"17"
selection-end-column=
"40"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$USER_HOME$/.local/lib/python3.6/site-packages/requests/__init__.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
/>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_request.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_follow.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_follow2.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/test.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
22
0"
>
<caret
line=
"
17"
column=
"18"
selection-start-line=
"17"
selection-start-column=
"18"
selection-end-line=
"17"
selection-end-column=
"52
"
/>
<state
relative-caret-position=
"
6
0"
>
<caret
line=
"
4"
column=
"35"
selection-start-line=
"4"
selection-start-column=
"35"
selection-end-line=
"4"
selection-end-column=
"35
"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
</folding>
...
...
index_contrast/tag.py
View file @
99e4851b
...
...
@@ -314,7 +314,7 @@ for old_item in result_dict["hits"]:
]
}
}
result_dict_test
=
ESPerform
.
get_search_results
(
es_cli_obj
,
"mv-alpha-tag-test-19071
1
901"
,
q
,
0
,
1
)
result_dict_test
=
ESPerform
.
get_search_results
(
es_cli_obj
,
"mv-alpha-tag-test-19071
8
901"
,
q
,
0
,
1
)
for
new_item
in
result_dict_test
[
"hits"
]:
new_source
=
new_item
[
"_source"
]
new_id
=
new_source
[
"id"
]
...
...
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