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
8baade95
Commit
8baade95
authored
Jun 18, 2020
by
Blair Lunceford
Committed by
Achilleas Pipinellis
Jun 18, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Docs: Add info on clearing index status
parent
dd2cf5cf
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
7 deletions
+16
-7
doc/integration/elasticsearch.md
doc/integration/elasticsearch.md
+16
-7
No files found.
doc/integration/elasticsearch.md
View file @
8baade95
...
...
@@ -187,7 +187,7 @@ To disable the Elasticsearch integration:
1.
Expand the
**Elasticsearch**
section and uncheck
**Elasticsearch indexing**
and
**Search with Elasticsearch enabled**
.
1.
Click
**Save changes**
for the changes to take effect.
1.
(Optional) Delete the existing index
by running one of these commands
:
1.
(Optional) Delete the existing index:
```
shell
# Omnibus installations
...
...
@@ -209,7 +209,7 @@ To backfill existing data, you can use one of the methods below to index it in b
To index via the Admin Area:
1.
[
Configure your Elasticsearch host and port
](
#enabling-elasticsearch
)
.
1.
Create empty indexes
using one of the following commands
:
1.
Create empty indexes:
```
shell
# Omnibus installations
...
...
@@ -222,7 +222,7 @@ To index via the Admin Area:
1.
[
Enable **Elasticsearch indexing**
](
#enabling-elasticsearch
)
.
1.
Click
**Index all projects**
in
**Admin Area > Settings > Integrations > Elasticsearch**
.
1.
Click
**Check progress**
in the confirmation message to see the status of the background jobs.
1.
Personal snippets need to be indexed manually
by running one of these commands
:
1.
Personal snippets need to be indexed manually:
```
shell
# Omnibus installations
...
...
@@ -246,7 +246,7 @@ This will delete your existing indexes.
If the database size is less than 500 MiB, and the size of all hosted repos is less than 5 GiB:
1.
[
Enable **Elasticsearch indexing** and configure your host and port
](
#enabling-elasticsearch
)
.
1.
Index your data
using one of the following commands
:
1.
Index your data:
```
shell
# Omnibus installations
...
...
@@ -266,7 +266,7 @@ Make sure to prepare for this task by having a [Scalable and Highly Available Se
or creating
[
extra Sidekiq processes
](
../administration/operations/extra_sidekiq_processes.md
)
1.
[
Configure your Elasticsearch host and port
](
#enabling-elasticsearch
)
.
1.
Create empty indexes
using one of the following commands
:
1.
Create empty indexes:
```
shell
# Omnibus installations
...
...
@@ -276,6 +276,16 @@ or creating [extra Sidekiq processes](../administration/operations/extra_sidekiq
bundle
exec
rake gitlab:elastic:create_empty_index
RAILS_ENV
=
production
```
1.
If this is a re-index of your GitLab instance, clear the index status:
```
shell
# Omnibus installations
sudo
gitlab-rake gitlab:elastic:clear_index_status
# Installations from source
bundle
exec
rake gitlab:elastic:clear_index_status
RAILS_ENV
=
production
```
1.
[
Enable **Elasticsearch indexing**
](
#enabling-elasticsearch
)
.
1.
Indexing large Git repositories can take a while. To speed up the process, you
can temporarily disable auto-refreshing and replicating. In our experience, you can expect a 20%
...
...
@@ -350,8 +360,7 @@ or creating [extra Sidekiq processes](../administration/operations/extra_sidekiq
indexer to "forget" all progress, so it will retry the indexing process from the
start.
1.
Personal snippets are not associated with a project and need to be indexed separately
by running one of these commands:
1.
Personal snippets are not associated with a project and need to be indexed separately:
```
shell
# Omnibus installations
...
...
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