Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
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
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
5a05cae3
Commit
5a05cae3
authored
Apr 20, 2016
by
Valery Sizov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Elastic] Database indexer prints its status
parent
2c364a79
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
CHANGELOG-EE
CHANGELOG-EE
+3
-0
lib/tasks/gitlab/elastic.rake
lib/tasks/gitlab/elastic.rake
+4
-0
No files found.
CHANGELOG-EE
View file @
5a05cae3
Please view this file on the master branch, on stable branches it's out of date.
Please view this file on the master branch, on stable branches it's out of date.
v 8.8.0 (unreleased)
- [Elastic] Database indexer prints its status
v 8.7.0
v 8.7.0
- Update GitLab Pages to 0.2.1: support user-defined 404 pages
- Update GitLab Pages to 0.2.1: support user-defined 404 pages
- Refactor group sync to pull access level logic to its own class. !306
- Refactor group sync to pull access level logic to its own class. !306
...
...
lib/tasks/gitlab/elastic.rake
View file @
5a05cae3
...
@@ -78,11 +78,15 @@ namespace :gitlab do
...
@@ -78,11 +78,15 @@ namespace :gitlab do
[
Project
,
Issue
,
MergeRequest
,
Snippet
,
Note
,
Milestone
].
each
do
|
klass
|
[
Project
,
Issue
,
MergeRequest
,
Snippet
,
Note
,
Milestone
].
each
do
|
klass
|
klass
.
__elasticsearch__
.
create_index!
klass
.
__elasticsearch__
.
create_index!
print
"Indexing
#{
klass
}
records... "
if
klass
==
Note
if
klass
==
Note
Note
.
searchable
.
import
Note
.
searchable
.
import
else
else
klass
.
import
klass
.
import
end
end
puts
"done"
.
green
end
end
end
end
...
...
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