Skip to content

Commit 80d4b30

Browse files
committed
Correct verb POST -> PUT for _settings API
1 parent dc56860 commit 80d4b30

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

410_Scaling/35_Replica_shards.asciidoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ hardware at search time by increasing the number of replicas:
2222

2323
[source,json]
2424
-----------------------
25-
POST /my_index/_settings
25+
PUT /my_index/_settings
2626
{
2727
"number_of_replicas": 1
2828
}
@@ -46,7 +46,7 @@ evenly divided between three nodes, as shown in <<img-three-nodes>>:
4646

4747
[source,json]
4848
-----------------------
49-
POST /my_index/_settings
49+
PUT /my_index/_settings
5050
{
5151
"number_of_replicas": 2
5252
}

0 commit comments

Comments
 (0)