[DOCS] Fixes broken formatting
This commit is contained in:
parent
9f6c77fad4
commit
e78f70e5d8
|
@ -49,6 +49,7 @@ settings support three types of filters: `include`, `exclude`, and `require`.
|
||||||
For example, to tell {es} to allocate shards from the `test` index to either
|
For example, to tell {es} to allocate shards from the `test` index to either
|
||||||
`big` or `medium` nodes, use `index.routing.allocation.include`:
|
`big` or `medium` nodes, use `index.routing.allocation.include`:
|
||||||
+
|
+
|
||||||
|
--
|
||||||
[source,js]
|
[source,js]
|
||||||
------------------------
|
------------------------
|
||||||
PUT test/_settings
|
PUT test/_settings
|
||||||
|
@ -58,11 +59,11 @@ PUT test/_settings
|
||||||
------------------------
|
------------------------
|
||||||
// CONSOLE
|
// CONSOLE
|
||||||
// TEST[s/^/PUT test\n/]
|
// TEST[s/^/PUT test\n/]
|
||||||
+
|
|
||||||
If you specify multiple filters, all conditions must be satisfied for shards to
|
If you specify multiple filters, all conditions must be satisfied for shards to
|
||||||
be relocated. For example, to move the `test` index to `big` nodes in `rack1`,
|
be relocated. For example, to move the `test` index to `big` nodes in `rack1`,
|
||||||
you could specify:
|
you could specify:
|
||||||
+
|
|
||||||
[source,js]
|
[source,js]
|
||||||
------------------------
|
------------------------
|
||||||
PUT test/_settings
|
PUT test/_settings
|
||||||
|
@ -73,6 +74,7 @@ PUT test/_settings
|
||||||
------------------------
|
------------------------
|
||||||
// CONSOLE
|
// CONSOLE
|
||||||
// TEST[s/^/PUT test\n/]
|
// TEST[s/^/PUT test\n/]
|
||||||
|
--
|
||||||
|
|
||||||
[float]
|
[float]
|
||||||
[[index-allocation-settings]]
|
[[index-allocation-settings]]
|
||||||
|
|
Loading…
Reference in New Issue