Skip to content

Commit

Permalink
[DOCS] Fixes broken formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
lcawl committed Feb 15, 2019
1 parent a6ebaf7 commit eb1512c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/reference/index-modules/allocation/filtering.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -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
`big` or `medium` nodes, use `index.routing.allocation.include`:
+
--
[source,js]
------------------------
PUT test/_settings
Expand All @@ -58,11 +59,11 @@ PUT test/_settings
------------------------
// CONSOLE
// TEST[s/^/PUT test\n/]
+

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`,
you could specify:
+

[source,js]
------------------------
PUT test/_settings
Expand All @@ -73,6 +74,7 @@ PUT test/_settings
------------------------
// CONSOLE
// TEST[s/^/PUT test\n/]
--

[float]
[[index-allocation-settings]]
Expand Down

0 comments on commit eb1512c

Please sign in to comment.