Commit 5a05cae3 authored by Valery Sizov's avatar Valery Sizov

[Elastic] Database indexer prints its status

parent 2c364a79
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
- 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
......
......@@ -78,11 +78,15 @@ namespace :gitlab do
[Project, Issue, MergeRequest, Snippet, Note, Milestone].each do |klass|
klass.__elasticsearch__.create_index!
print "Indexing #{klass} records... "
if klass == Note
Note.searchable.import
else
klass.import
end
puts "done".green
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