Commit c65f20ef authored by Sean McGivern's avatar Sean McGivern

Merge branch 'fix_es_doc' into 'master'

ES documentation: Fix rake command

Closes https://gitlab.com/gitlab-org/gitlab-ee/issues/1169

See merge request !825
parents 7ed72960 afe7344d
......@@ -67,7 +67,7 @@ Configure Elasticsearch's host and port in **Admin > Settings**. Then create emp
sudo gitlab-rake gitlab:elastic:create_empty_index
# Installations from source
bundle exec rake gitlab:elastic:create_empty_index
bundle exec rake gitlab:elastic:create_empty_index RAILS_ENV=production
```
......@@ -219,7 +219,7 @@ To minimize downtime of the search feature we recommend the following:
sudo gitlab-rake gitlab:elastic:create_empty_index
# Installations from source
bundle exec rake gitlab:elastic:create_empty_index
bundle exec rake gitlab:elastic:create_empty_index RAILS_ENV=production
```
1. Index all repositories using the `gitlab:elastic:index_repositories` Rake
......
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