Skip to content
Snippets Groups Projects
Commit 4b7277d9 authored by Blair Lunceford's avatar Blair Lunceford Committed by Evan Read
Browse files

Added new ES rake task and troubleshooting step

parent ab105df6
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -354,6 +354,8 @@ There are several rake tasks available to you via the command line:
- Does the same thing as `sudo gitlab-rake gitlab:elastic:create_empty_index`
- [sudo gitlab-rake gitlab:elastic:index_snippets](https://gitlab.com/gitlab-org/gitlab-ee/blob/master/ee/lib/tasks/gitlab/elastic.rake)
- Performs an Elasticsearch import that indexes the snippets data.
- [sudo gitlab-rake gitlab:elastic:projects_not_indexed](https://gitlab.com/gitlab-org/gitlab-ee/blob/master/ee/lib/tasks/gitlab/elastic.rake)
- Displays which projects are not indexed.
 
### Environment Variables
 
Loading
Loading
@@ -469,6 +471,10 @@ Here are some common pitfalls and how to overcome them:
 
The more data present in your GitLab instance, the longer the indexing process takes.
 
- **There are some projects that weren't indexed, but we don't know which ones**
You can run `sudo gitlab-rake gitlab:elastic:projects_not_indexed` to display projects that aren't indexed.
- **No new data is added to the Elasticsearch index when I push code**
 
When performing the initial indexing of blobs, we lock all projects until the project finishes indexing. It could
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment