Commit 75136cc0 authored by Robert Speicher's avatar Robert Speicher

Merge branch 'elastic_database_indexer_visible_status' into 'master'

[Elastic] Database indexer prints its status

See merge request !351
parents 2c364a79 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
......
...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment