1- <!DOCTYPE html>
2- < html >
3- < head >
4- < title > Nest - Connecting</ title >
5- < meta http-equiv ="cache-control " content ="no-cache ">
6- < meta http-equiv ="pragma " content ="no-cache ">
7- < meta http-equiv ="content-type " content ="text/html;charset=utf-8 ">
8- < meta http-equiv ="expires " content ="0 ">
9- < meta name ="description " content ="elasticsearch ">
10- < meta name ="keywords " content ="nest, elasticsearch, .net, client ">
11- < meta name ="author " content ="martijn laarman ">
12- < link rel ="stylesheet " type ="text/css " href ="/styles/layout.css ">
13- < link rel ="stylesheet " type ="text/css " href ="/styles/pygments.css ">
14- < link href ="http://fonts.googleapis.com/css?family=Ubuntu+Mono|Ubuntu " rel ="stylesheet " type ="text/css ">
15- < link href ="/prettify/prettify.css " type ="text/css " rel ="stylesheet ">
16- < link href ="/prettify/sunburst.css " type ="text/css " rel ="stylesheet ">
17- < script src ="http://code.jquery.com/jquery.min.js " type ="text/javascript "> </ script >
18- < script type ="text/javascript " src ="/prettify/prettify.js "> </ script >
19- < script type ="text/javascript " src ="/prettify/fix_code_tags.js "> </ script >
20- </ head >
21- < body >
22- < section id ="site ">
23- < div class ="actions ">
24- < iframe src ="http://ghbtns.com/github-btn.html?user=Mpdreamz&repo=NEST&type=fork&count=true " allowtransparency ="true " frameborder ="0 " scrolling ="0 " width ="95 " height ="20 "> </ iframe >
25- < iframe src ="http://ghbtns.com/github-btn.html?user=Mpdreamz&repo=NEST&type=watch&count=true " allowtransparency ="true " frameborder ="0 " scrolling ="0 " width ="110 " height ="20 "> </ iframe >
26- </ div >
27- < aside >
28- < ul id ="top_left_menu ">
29- < h4 > External</ h4 >
30- < li > < a href ="http://www.elasticsearch.org " target ="_blank "> Elasticsearch Docs</ a > </ li >
31- < li > < a href ="http://mpdreamz.mit-license.org/ " target ="_blank "> MIT license</ a > </ li >
32- </ ul >
33- </ aside >
34- < section id ="content ">
35- < aside id ="menu ">
36- < ul id ="top_left_menu ">
37- < li > < a href ="/ "> + Concepts</ a > </ li >
38- < li > < a href ="/core/ " class =""> + Core</ a > </ li >
39- < li > < a href ="/indices/aliases.html " class =""> + Indices</ a > </ li >
40- < h4 > - Cluster</ h4 >
41- < ul >
42- < li > < a href ="/cluster/health.html " class ="selected "> Health</ a > </ li >
43- < li > < a href ="/cluster/state.html " class =""> State</ a > </ li >
44- < li > < a href ="/cluster/update-settings.html " class =""> Update Settings</ a > </ li >
45- < li > < a href ="/cluster/nodes-info.html " class =""> Nodes Info</ a > </ li >
46- < li > < a href ="/cluster/nodes-stats.html " class =""> Nodes Stats</ a > </ li >
47- < li > < a href ="/cluster/nodes-shutdown.html " class =""> Nodes Shutdown</ a > </ li >
48- </ ul >
49- < li > < a href ="/search/basics.html " class =""> + Search</ a > </ li >
50- < li > < a href ="/facets/handling.html " class =""> + Facets</ a > </ li >
51- < li > < a href ="/query/text.html " class =""> + Query DSL</ a > </ li >
52- < li > < a href ="/filter/and.html " class =""> + Filter DSL</ a > </ li >
53- </ ul >
54- </ aside >
55- < article >
56- < div id ="content-margin-fix "> < h1 > Health</ h1 >
57- < p > Get cluster health simple
58-
59- </ p >
60- < pre > < code > < span class ="keyword "> var</ span > r = < span class ="keyword "> this</ span > ._client.Health(HealthLevel.Cluster);</ code > </ pre >
61- < p > Cluster health just for one (or more) index
62-
63- </ p >
64- < pre > < code > < span class ="keyword "> var</ span > r = < span class ="keyword "> this</ span > ._client.Health(< span class ="keyword "> new</ span > [] { Test.< span class ="keyword "> Default</ span > .DefaultIndex }, HealthLevel.Cluster);</ code > </ pre >
65- < p > Advanced options are mapped as well
66-
67- </ p >
68- < pre > < code > < span class ="keyword "> var</ span > r = < span class ="keyword "> this</ span > ._client.Health(< span class ="keyword "> new</ span > HealthParams
1+ <!DOCTYPE html> < html > < head > < title > Nest - Connecting</ title > < meta http-equiv ="cache-control " content ="no-cache "> < meta http-equiv ="pragma " content ="no-cache "> < meta http-equiv ="content-type " content ="text/html;charset=utf-8 "> < meta http-equiv ="expires " content ="0 "> < meta name ="description " content ="elasticsearch "> < meta name ="keywords " content ="nest, elasticsearch, .net, client "> < meta name ="author " content ="martijn laarman "> < link rel ="stylesheet " type ="text/css " href ="/styles/layout.css "> < link rel ="stylesheet " type ="text/css " href ="/styles/pygments.css "> < link href ="http://fonts.googleapis.com/css?family=Ubuntu+Mono|Ubuntu " rel ="stylesheet " type ="text/css "> < link href ="/prettify/prettify.css " type ="text/css " rel ="stylesheet "> < link href ="/prettify/sunburst.css " type ="text/css " rel ="stylesheet "> < script src ="http://code.jquery.com/jquery.min.js " type ="text/javascript "> </ script > < script type ="text/javascript " src ="/prettify/prettify.js "> </ script > < script type ="text/javascript " src ="/prettify/fix_code_tags.js "> </ script > </ head > < body > < section id ="site "> < div class ="actions "> < iframe src ="http://ghbtns.com/github-btn.html?user=Mpdreamz&repo=NEST&type=fork&count=true " allowtransparency ="true " frameborder ="0 " scrolling ="0 " width ="95 " height ="20 "> </ iframe > < iframe src ="http://ghbtns.com/github-btn.html?user=Mpdreamz&repo=NEST&type=watch&count=true " allowtransparency ="true " frameborder ="0 " scrolling ="0 " width ="110 " height ="20 "> </ iframe > </ div > < aside > < ul id ="top_left_menu "> < h4 > External</ h4 > < li > < a href ="http://www.elasticsearch.org " target ="_blank "> Elasticsearch Docs</ a > </ li > < li > < a href ="http://mpdreamz.mit-license.org/ " target ="_blank "> MIT license</ a > </ li > </ ul > </ aside > < section id ="content "> < aside id ="menu "> < ul id ="top_left_menu "> < li > < a href ="/ "> + Concepts</ a > </ li > < li > < a href ="/core/ " class =""> + Core</ a > </ li > < li > < a href ="/indices/aliases.html " class =""> + Indices</ a > </ li > < h4 > - Cluster</ h4 > < ul > < li > < a href ="/cluster/health.html " class ="selected "> Health</ a > </ li > < li > < a href ="/cluster/state.html " class =""> State</ a > </ li > < li > < a href ="/cluster/update-settings.html " class =""> Update Settings</ a > </ li > < li > < a href ="/cluster/nodes-info.html " class =""> Nodes Info</ a > </ li > < li > < a href ="/cluster/nodes-stats.html " class =""> Nodes Stats</ a > </ li > < li > < a href ="/cluster/nodes-shutdown.html " class =""> Nodes Shutdown</ a > </ li > </ ul > < li > < a href ="/search/basics.html " class =""> + Search</ a > </ li > < li > < a href ="/facets/handling.html " class =""> + Facets</ a > </ li > < li > < a href ="/query/text.html " class =""> + Query DSL</ a > </ li > < li > < a href ="/filter/and.html " class =""> + Filter DSL</ a > </ li > </ ul > </ aside > < article > < div id ="content-margin-fix "> < h1 > Health</ h1 >
2+ < p > Get cluster health simple</ p >
3+ < pre > < code > var r = this._client.Health(HealthLevel.Cluster);</ code > </ pre >
4+ < p > Cluster health just for one (or more) index</ p >
5+ < pre > < code > var r = this._client.Health(new[] { Test.Default.DefaultIndex }, HealthLevel.Cluster);</ code > </ pre >
6+ < p > Advanced options are mapped as well</ p >
7+ < pre > < code > var r = this._client.Health(new HealthParams
698{
709 CheckLevel = HealthLevel.Shards,
71- Timeout = < span class =" string " > " 30s" </ span > ,
72- WaitForMinNodes = < span class =" number " > 1 </ span > ,
73- WaitForRelocatingShards = < span class =" number " > 0 </ span > ,
10+ Timeout = " 30s" ,
11+ WaitForMinNodes = 1 ,
12+ WaitForRelocatingShards = 0 ,
7413 WaitForStatus = HealthStatus.Green
7514});</ code > </ pre >
76-
77- </ div >
78- </ article >
79- </ section >
80- </ section >
81- </ body >
82- </ html >
15+ </ div > </ article > </ section > </ section > </ body > </ html >
0 commit comments