Skip to content

Commit

Permalink
Correct verb POST -> PUT for _settings API
Browse files Browse the repository at this point in the history
  • Loading branch information
robin13 committed Jun 5, 2015
1 parent dc56860 commit 80d4b30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 410_Scaling/35_Replica_shards.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ hardware at search time by increasing the number of replicas:

[source,json]
-----------------------
POST /my_index/_settings
PUT /my_index/_settings
{
"number_of_replicas": 1
}
Expand All @@ -46,7 +46,7 @@ evenly divided between three nodes, as shown in <<img-three-nodes>>:

[source,json]
-----------------------
POST /my_index/_settings
PUT /my_index/_settings
{
"number_of_replicas": 2
}
Expand Down

0 comments on commit 80d4b30

Please sign in to comment.