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
606f605c
Commit
606f605c
authored
Apr 07, 2020
by
Matthias Baur
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix: Use two dashes for curl arguments instead of three
parent
b5cf18b0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
doc/integration/elasticsearch.md
doc/integration/elasticsearch.md
+3
-3
No files found.
doc/integration/elasticsearch.md
View file @
606f605c
...
@@ -361,7 +361,7 @@ or creating [extra Sidekiq processes](../administration/operations/extra_sidekiq
...
@@ -361,7 +361,7 @@ or creating [extra Sidekiq processes](../administration/operations/extra_sidekiq
1.
Enable replication and refreshing again after indexing (only if you previously disabled it):
1.
Enable replication and refreshing again after indexing (only if you previously disabled it):
```
shell
```
shell
curl
--request
PUT localhost:9200/gitlab-production/_settings
--header
'Content-Type: application/json'
--
-
data
'{
curl
--request
PUT localhost:9200/gitlab-production/_settings
--header
'Content-Type: application/json'
--data
'{
"index" : {
"index" : {
"number_of_replicas" : 1,
"number_of_replicas" : 1,
"refresh_interval" : "1s"
"refresh_interval" : "1s"
...
@@ -373,7 +373,7 @@ or creating [extra Sidekiq processes](../administration/operations/extra_sidekiq
...
@@ -373,7 +373,7 @@ or creating [extra Sidekiq processes](../administration/operations/extra_sidekiq
For Elasticsearch 6.x, the index should be in read-only mode before proceeding with the force merge:
For Elasticsearch 6.x, the index should be in read-only mode before proceeding with the force merge:
```
shell
```
shell
curl
--request
PUT localhost:9200/gitlab-production/_settings
--
-
header
'Content-Type: application/json'
--data
'{
curl
--request
PUT localhost:9200/gitlab-production/_settings
--header
'Content-Type: application/json'
--data
'{
"settings": {
"settings": {
"index.blocks.write": true
"index.blocks.write": true
} }'
} }'
...
@@ -388,7 +388,7 @@ or creating [extra Sidekiq processes](../administration/operations/extra_sidekiq
...
@@ -388,7 +388,7 @@ or creating [extra Sidekiq processes](../administration/operations/extra_sidekiq
After this, if your index is in read-only mode, switch back to read-write:
After this, if your index is in read-only mode, switch back to read-write:
```
shell
```
shell
curl
--request
PUT localhost:9200/gitlab-production/_settings
--
-
header
'Content-Type: application/json'
--data
'{
curl
--request
PUT localhost:9200/gitlab-production/_settings
--header
'Content-Type: application/json'
--data
'{
"settings": {
"settings": {
"index.blocks.write": false
"index.blocks.write": false
} }'
} }'
...
...
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