Browse Source

[docs] Add wait_for_status=yellow

Another unstable snippet....

https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+master+multijob-os-compatibility/os=sles/402/console
Nik Everett 9 years ago
parent
commit
8155e1efda
1 changed files with 2 additions and 1 deletions
  1. 2 1
      docs/reference/analysis/testing.asciidoc

+ 2 - 1
docs/reference/analysis/testing.asciidoc

@@ -69,6 +69,8 @@ PUT my_index
   }
 }
 
+GET _cluster/health?wait_for_status=yellow
+
 GET my_index/_analyze <3>
 {
   "analyzer": "std_folded", <4>
@@ -88,4 +90,3 @@ GET my_index/_analyze <3>
 <3> To refer to this analyzer, the `analyze` API must specify the index name.
 <4> Refer to the analyzer by name.
 <5> Refer to the analyzer used by field `my_text`.
-