Skip to content

Commit

Permalink
Fix docs test
Browse files Browse the repository at this point in the history
  • Loading branch information
jasontedor committed May 6, 2018
1 parent add8989 commit 56ceb89
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/reference/indices/shrink-index.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,19 @@ the following request:
[source,js]
--------------------------------------------------
POST my_source_index/_shrink/my_target_index?copy_settings=true
{
"settings": {
"index.routing.allocation.require._name": null, <1>
"index.blocks.write": null <2>
}
}
--------------------------------------------------
// CONSOLE
// TEST[continued]

<1> Clear the allocation requirement copied from the source index.
<2> Clear the index write block copied from the source index.

The above request returns immediately once the target index has been added to
the cluster state -- it doesn't wait for the shrink operation to start.

Expand Down

0 comments on commit 56ceb89

Please sign in to comment.