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
d701fd77
Commit
d701fd77
authored
Apr 29, 2016
by
Jason Deland
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update elasticsearch.md with more details
parent
5867dd0c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
doc/integration/elasticsearch.md
doc/integration/elasticsearch.md
+10
-1
No files found.
doc/integration/elasticsearch.md
View file @
d701fd77
...
...
@@ -167,6 +167,15 @@ sudo gitlab-rake gitlab:elastic:index_database
# Installations from source
bundle exec rake gitlab:elastic:index_database RAILS_ENV=production
```
To index all available entities:
```
# Omnibus installations
sudo gitlab-rake gitlab:elastic:index
# Installations from source
bundle exec rake gitlab:elastic:index RAILS_ENV=production
```
## Disable Elasticsearch
...
...
@@ -248,7 +257,7 @@ To minimize downtime of the search feature we recommend the following:
1.
Index all repositories using the
`gitlab:elastic:index_repositories`
Rake
task (see above). You'll probably want to do this in parallel.
1.
Enable Elasticsearch and restart GitLab.
1.
Enable Elasticsearch and restart GitLab.
Note that once enabled the index will be updated when new data is pushed to the GitLab server.
1.
Run indexers for database (with the
`UPDATE_INDEX=1`
parameter), wikis, and
repositories. By running the repository indexer twice you will be sure that
...
...
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