Skip to content

Commit bb81340

Browse files
committed
[DOCS] Consistent leading slash in snippets
1 parent 96d74a0 commit bb81340

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

docs/reference/how-to/size-your-shards.asciidoc

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ node.
181181

182182
[source,console]
183183
----
184-
GET _cat/shards
184+
GET _cat/shards?v=true
185185
----
186186
// TEST[setup:my_index]
187187

@@ -201,7 +201,7 @@ configure `index.routing.allocation.total_shards_per_node` using the
201201

202202
[source,console]
203203
--------------------------------------------------
204-
PUT /my-index-000001/_settings
204+
PUT my-index-000001/_settings
205205
{
206206
"index" : {
207207
"routing.allocation.total_shards_per_node" : 5
@@ -245,7 +245,7 @@ You can find these empty indices using the <<cat-count,cat count API>>.
245245

246246
[source,console]
247247
----
248-
GET /_cat/count/my-index-000001?v=true
248+
GET _cat/count/my-index-000001?v=true
249249
----
250250
// TEST[setup:my_index]
251251

@@ -255,7 +255,7 @@ unneeded indices.
255255

256256
[source,console]
257257
----
258-
DELETE /my-index-*
258+
DELETE my-index-*
259259
----
260260
// TEST[setup:my_index]
261261

@@ -270,7 +270,7 @@ are resource-intensive. If possible, run the force merge during off-peak hours.
270270

271271
[source,console]
272272
----
273-
POST /my-index-000001/_forcemerge
273+
POST my-index-000001/_forcemerge
274274
----
275275
// TEST[setup:my_index]
276276

@@ -283,7 +283,7 @@ If you no longer write to an index, you can use the
283283

284284
[source,console]
285285
----
286-
POST /my-index-000001/_shrink/my-shrunken-index-000001
286+
POST my-index-000001/_shrink/my-shrunken-index-000001
287287
----
288288
// TEST[s/^/PUT my-index-000001\n{"settings":{"index.number_of_shards":2,"blocks.write":true}}\n/]
289289

@@ -303,7 +303,7 @@ shared index pattern, such as `my-index-2099.10.11`, into a monthly
303303

304304
[source,console]
305305
----
306-
POST /_reindex
306+
POST _reindex
307307
{
308308
"source": {
309309
"index": "my-index-2099.10.*"

0 commit comments

Comments
 (0)