-
Notifications
You must be signed in to change notification settings - Fork 1.2k
/
Copy path_Descriptors.generated.cs
5079 lines (3739 loc) · 139 KB
/
_Descriptors.generated.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Linq.Expressions;
using Elasticsearch.Net;
///This file lays the base for all the descriptors based on the query string parameters in the spec for IElasticClient.
///This file is automatically generated from https://github.com/elasticsearch/elasticsearch-rest-api-spec
///Generated of commit
namespace Nest
{
///<summary>descriptor for Bulk
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/docs-bulk.html
///</pre>
///</summary>
public partial class BulkDescriptor
{
internal BulkRequestParameters _QueryString = new BulkRequestParameters();
///<summary>Explicit write consistency setting for the operation</summary>
public BulkDescriptor Consistency(ConsistencyOptions consistency)
{
this._QueryString.Consistency(consistency);
return this;
}
///<summary>Refresh the index after performing the operation</summary>
public BulkDescriptor Refresh(bool refresh = true)
{
this._QueryString.Refresh(refresh);
return this;
}
///<summary>Explicitely set the replication type</summary>
public BulkDescriptor Replication(ReplicationOptions replication)
{
this._QueryString.Replication(replication);
return this;
}
///<summary>Specific routing value</summary>
public BulkDescriptor Routing(string routing)
{
this._QueryString.Routing(routing);
return this;
}
///<summary>Explicit operation timeout</summary>
public BulkDescriptor Timeout(string timeout)
{
this._QueryString.Timeout(timeout);
return this;
}
///<summary>Default document type for items which don't provide one</summary>
public BulkDescriptor TypeQueryString(string type)
{
this._QueryString.Type(type);
return this;
}
}
///<summary>descriptor for CatAliases
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/cat-aliases.html
///</pre>
///</summary>
public partial class CatAliasesDescriptor
{
internal CatAliasesRequestParameters _QueryString = new CatAliasesRequestParameters();
///<summary>Return local information, do not retrieve the state from master node (default: false)</summary>
public CatAliasesDescriptor Local(bool local = true)
{
this._QueryString.Local(local);
return this;
}
///<summary>Explicit operation timeout for connection to master node</summary>
public CatAliasesDescriptor MasterTimeout(string master_timeout)
{
this._QueryString.MasterTimeout(master_timeout);
return this;
}
///<summary>Comma-separated list of column names to display</summary>
public CatAliasesDescriptor H(params string[] h)
{
this._QueryString.H(h);
return this;
}
///<summary>Return help information</summary>
public CatAliasesDescriptor Help(bool help = true)
{
this._QueryString.Help(help);
return this;
}
///<summary>Verbose mode. Display column headers</summary>
public CatAliasesDescriptor V(bool v = true)
{
this._QueryString.V(v);
return this;
}
}
///<summary>descriptor for CatAllocation
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/cat-allocation.html
///</pre>
///</summary>
public partial class CatAllocationDescriptor
{
internal CatAllocationRequestParameters _QueryString = new CatAllocationRequestParameters();
///<summary>The unit in which to display byte values</summary>
public CatAllocationDescriptor Bytes(BytesOptions bytes)
{
this._QueryString.Bytes(bytes);
return this;
}
///<summary>Return local information, do not retrieve the state from master node (default: false)</summary>
public CatAllocationDescriptor Local(bool local = true)
{
this._QueryString.Local(local);
return this;
}
///<summary>Explicit operation timeout for connection to master node</summary>
public CatAllocationDescriptor MasterTimeout(string master_timeout)
{
this._QueryString.MasterTimeout(master_timeout);
return this;
}
///<summary>Comma-separated list of column names to display</summary>
public CatAllocationDescriptor H(params string[] h)
{
this._QueryString.H(h);
return this;
}
///<summary>Return help information</summary>
public CatAllocationDescriptor Help(bool help = true)
{
this._QueryString.Help(help);
return this;
}
///<summary>Verbose mode. Display column headers</summary>
public CatAllocationDescriptor V(bool v = true)
{
this._QueryString.V(v);
return this;
}
}
///<summary>descriptor for CatCount
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/cat-count.html
///</pre>
///</summary>
public partial class CatCountDescriptor
{
internal CatCountRequestParameters _QueryString = new CatCountRequestParameters();
///<summary>Return local information, do not retrieve the state from master node (default: false)</summary>
public CatCountDescriptor Local(bool local = true)
{
this._QueryString.Local(local);
return this;
}
///<summary>Explicit operation timeout for connection to master node</summary>
public CatCountDescriptor MasterTimeout(string master_timeout)
{
this._QueryString.MasterTimeout(master_timeout);
return this;
}
///<summary>Comma-separated list of column names to display</summary>
public CatCountDescriptor H(params string[] h)
{
this._QueryString.H(h);
return this;
}
///<summary>Return help information</summary>
public CatCountDescriptor Help(bool help = true)
{
this._QueryString.Help(help);
return this;
}
///<summary>Verbose mode. Display column headers</summary>
public CatCountDescriptor V(bool v = true)
{
this._QueryString.V(v);
return this;
}
}
///<summary>descriptor for CatHealth
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/cat-health.html
///</pre>
///</summary>
public partial class CatHealthDescriptor
{
internal CatHealthRequestParameters _QueryString = new CatHealthRequestParameters();
///<summary>Return local information, do not retrieve the state from master node (default: false)</summary>
public CatHealthDescriptor Local(bool local = true)
{
this._QueryString.Local(local);
return this;
}
///<summary>Explicit operation timeout for connection to master node</summary>
public CatHealthDescriptor MasterTimeout(string master_timeout)
{
this._QueryString.MasterTimeout(master_timeout);
return this;
}
///<summary>Comma-separated list of column names to display</summary>
public CatHealthDescriptor H(params string[] h)
{
this._QueryString.H(h);
return this;
}
///<summary>Return help information</summary>
public CatHealthDescriptor Help(bool help = true)
{
this._QueryString.Help(help);
return this;
}
///<summary>Set to false to disable timestamping</summary>
public CatHealthDescriptor Ts(bool ts = true)
{
this._QueryString.Ts(ts);
return this;
}
///<summary>Verbose mode. Display column headers</summary>
public CatHealthDescriptor V(bool v = true)
{
this._QueryString.V(v);
return this;
}
}
///<summary>descriptor for CatHelp
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/cat.html
///</pre>
///</summary>
public partial class CatHelpDescriptor
{
internal CatHelpRequestParameters _QueryString = new CatHelpRequestParameters();
///<summary>Return help information</summary>
public CatHelpDescriptor Help(bool help = true)
{
this._QueryString.Help(help);
return this;
}
}
///<summary>descriptor for CatIndices
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/cat-indices.html
///</pre>
///</summary>
public partial class CatIndicesDescriptor
{
internal CatIndicesRequestParameters _QueryString = new CatIndicesRequestParameters();
///<summary>The unit in which to display byte values</summary>
public CatIndicesDescriptor Bytes(BytesOptions bytes)
{
this._QueryString.Bytes(bytes);
return this;
}
///<summary>Return local information, do not retrieve the state from master node (default: false)</summary>
public CatIndicesDescriptor Local(bool local = true)
{
this._QueryString.Local(local);
return this;
}
///<summary>Explicit operation timeout for connection to master node</summary>
public CatIndicesDescriptor MasterTimeout(string master_timeout)
{
this._QueryString.MasterTimeout(master_timeout);
return this;
}
///<summary>Comma-separated list of column names to display</summary>
public CatIndicesDescriptor H(params string[] h)
{
this._QueryString.H(h);
return this;
}
///<summary>Return help information</summary>
public CatIndicesDescriptor Help(bool help = true)
{
this._QueryString.Help(help);
return this;
}
///<summary>Set to true to return stats only for primary shards</summary>
public CatIndicesDescriptor Pri(bool pri = true)
{
this._QueryString.Pri(pri);
return this;
}
///<summary>Verbose mode. Display column headers</summary>
public CatIndicesDescriptor V(bool v = true)
{
this._QueryString.V(v);
return this;
}
}
///<summary>descriptor for CatMaster
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/cat-master.html
///</pre>
///</summary>
public partial class CatMasterDescriptor
{
internal CatMasterRequestParameters _QueryString = new CatMasterRequestParameters();
///<summary>Return local information, do not retrieve the state from master node (default: false)</summary>
public CatMasterDescriptor Local(bool local = true)
{
this._QueryString.Local(local);
return this;
}
///<summary>Explicit operation timeout for connection to master node</summary>
public CatMasterDescriptor MasterTimeout(string master_timeout)
{
this._QueryString.MasterTimeout(master_timeout);
return this;
}
///<summary>Comma-separated list of column names to display</summary>
public CatMasterDescriptor H(params string[] h)
{
this._QueryString.H(h);
return this;
}
///<summary>Return help information</summary>
public CatMasterDescriptor Help(bool help = true)
{
this._QueryString.Help(help);
return this;
}
///<summary>Verbose mode. Display column headers</summary>
public CatMasterDescriptor V(bool v = true)
{
this._QueryString.V(v);
return this;
}
}
///<summary>descriptor for CatNodes
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/cat-nodes.html
///</pre>
///</summary>
public partial class CatNodesDescriptor
{
internal CatNodesRequestParameters _QueryString = new CatNodesRequestParameters();
///<summary>Return local information, do not retrieve the state from master node (default: false)</summary>
public CatNodesDescriptor Local(bool local = true)
{
this._QueryString.Local(local);
return this;
}
///<summary>Explicit operation timeout for connection to master node</summary>
public CatNodesDescriptor MasterTimeout(string master_timeout)
{
this._QueryString.MasterTimeout(master_timeout);
return this;
}
///<summary>Comma-separated list of column names to display</summary>
public CatNodesDescriptor H(params string[] h)
{
this._QueryString.H(h);
return this;
}
///<summary>Return help information</summary>
public CatNodesDescriptor Help(bool help = true)
{
this._QueryString.Help(help);
return this;
}
///<summary>Verbose mode. Display column headers</summary>
public CatNodesDescriptor V(bool v = true)
{
this._QueryString.V(v);
return this;
}
}
///<summary>descriptor for CatPendingTasks
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/cat-pending-tasks.html
///</pre>
///</summary>
public partial class CatPendingTasksDescriptor
{
internal CatPendingTasksRequestParameters _QueryString = new CatPendingTasksRequestParameters();
///<summary>Return local information, do not retrieve the state from master node (default: false)</summary>
public CatPendingTasksDescriptor Local(bool local = true)
{
this._QueryString.Local(local);
return this;
}
///<summary>Explicit operation timeout for connection to master node</summary>
public CatPendingTasksDescriptor MasterTimeout(string master_timeout)
{
this._QueryString.MasterTimeout(master_timeout);
return this;
}
///<summary>Comma-separated list of column names to display</summary>
public CatPendingTasksDescriptor H(params string[] h)
{
this._QueryString.H(h);
return this;
}
///<summary>Return help information</summary>
public CatPendingTasksDescriptor Help(bool help = true)
{
this._QueryString.Help(help);
return this;
}
///<summary>Verbose mode. Display column headers</summary>
public CatPendingTasksDescriptor V(bool v = true)
{
this._QueryString.V(v);
return this;
}
}
///<summary>descriptor for CatRecovery
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/cat-recovery.html
///</pre>
///</summary>
public partial class CatRecoveryDescriptor
{
internal CatRecoveryRequestParameters _QueryString = new CatRecoveryRequestParameters();
///<summary>The unit in which to display byte values</summary>
public CatRecoveryDescriptor Bytes(BytesOptions bytes)
{
this._QueryString.Bytes(bytes);
return this;
}
///<summary>Return local information, do not retrieve the state from master node (default: false)</summary>
public CatRecoveryDescriptor Local(bool local = true)
{
this._QueryString.Local(local);
return this;
}
///<summary>Explicit operation timeout for connection to master node</summary>
public CatRecoveryDescriptor MasterTimeout(string master_timeout)
{
this._QueryString.MasterTimeout(master_timeout);
return this;
}
///<summary>Comma-separated list of column names to display</summary>
public CatRecoveryDescriptor H(params string[] h)
{
this._QueryString.H(h);
return this;
}
///<summary>Return help information</summary>
public CatRecoveryDescriptor Help(bool help = true)
{
this._QueryString.Help(help);
return this;
}
///<summary>Verbose mode. Display column headers</summary>
public CatRecoveryDescriptor V(bool v = true)
{
this._QueryString.V(v);
return this;
}
}
///<summary>descriptor for CatShards
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/cat-shards.html
///</pre>
///</summary>
public partial class CatShardsDescriptor
{
internal CatShardsRequestParameters _QueryString = new CatShardsRequestParameters();
///<summary>Return local information, do not retrieve the state from master node (default: false)</summary>
public CatShardsDescriptor Local(bool local = true)
{
this._QueryString.Local(local);
return this;
}
///<summary>Explicit operation timeout for connection to master node</summary>
public CatShardsDescriptor MasterTimeout(string master_timeout)
{
this._QueryString.MasterTimeout(master_timeout);
return this;
}
///<summary>Comma-separated list of column names to display</summary>
public CatShardsDescriptor H(params string[] h)
{
this._QueryString.H(h);
return this;
}
///<summary>Return help information</summary>
public CatShardsDescriptor Help(bool help = true)
{
this._QueryString.Help(help);
return this;
}
///<summary>Verbose mode. Display column headers</summary>
public CatShardsDescriptor V(bool v = true)
{
this._QueryString.V(v);
return this;
}
}
///<summary>descriptor for CatThreadPool
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/cat-thread-pool.html
///</pre>
///</summary>
public partial class CatThreadPoolDescriptor
{
internal CatThreadPoolRequestParameters _QueryString = new CatThreadPoolRequestParameters();
///<summary>Return local information, do not retrieve the state from master node (default: false)</summary>
public CatThreadPoolDescriptor Local(bool local = true)
{
this._QueryString.Local(local);
return this;
}
///<summary>Explicit operation timeout for connection to master node</summary>
public CatThreadPoolDescriptor MasterTimeout(string master_timeout)
{
this._QueryString.MasterTimeout(master_timeout);
return this;
}
///<summary>Comma-separated list of column names to display</summary>
public CatThreadPoolDescriptor H(params string[] h)
{
this._QueryString.H(h);
return this;
}
///<summary>Return help information</summary>
public CatThreadPoolDescriptor Help(bool help = true)
{
this._QueryString.Help(help);
return this;
}
///<summary>Verbose mode. Display column headers</summary>
public CatThreadPoolDescriptor V(bool v = true)
{
this._QueryString.V(v);
return this;
}
///<summary>Enables displaying the complete node ids</summary>
public CatThreadPoolDescriptor FullId(bool full_id = true)
{
this._QueryString.FullId(full_id);
return this;
}
}
///<summary>descriptor for ClearScroll
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/search-request-scroll.html
///</pre>
///</summary>
public partial class ClearScrollDescriptor
{
internal ClearScrollRequestParameters _QueryString = new ClearScrollRequestParameters();
}
///<summary>descriptor for ClusterGetSettings
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/cluster-update-settings.html
///</pre>
///</summary>
public partial class ClusterGetSettingsDescriptor
{
internal ClusterGetSettingsRequestParameters _QueryString = new ClusterGetSettingsRequestParameters();
///<summary>Return settings in flat format (default: false)</summary>
public ClusterGetSettingsDescriptor FlatSettings(bool flat_settings = true)
{
this._QueryString.FlatSettings(flat_settings);
return this;
}
///<summary>Explicit operation timeout for connection to master node</summary>
public ClusterGetSettingsDescriptor MasterTimeout(string master_timeout)
{
this._QueryString.MasterTimeout(master_timeout);
return this;
}
///<summary>Explicit operation timeout</summary>
public ClusterGetSettingsDescriptor Timeout(string timeout)
{
this._QueryString.Timeout(timeout);
return this;
}
}
///<summary>descriptor for ClusterHealth
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/cluster-health.html
///</pre>
///</summary>
public partial class ClusterHealthDescriptor
{
internal ClusterHealthRequestParameters _QueryString = new ClusterHealthRequestParameters();
///<summary>Specify the level of detail for returned information</summary>
public ClusterHealthDescriptor Level(LevelOptions level)
{
this._QueryString.Level(level);
return this;
}
///<summary>Return local information, do not retrieve the state from master node (default: false)</summary>
public ClusterHealthDescriptor Local(bool local = true)
{
this._QueryString.Local(local);
return this;
}
///<summary>Explicit operation timeout for connection to master node</summary>
public ClusterHealthDescriptor MasterTimeout(string master_timeout)
{
this._QueryString.MasterTimeout(master_timeout);
return this;
}
///<summary>Explicit operation timeout</summary>
public ClusterHealthDescriptor Timeout(string timeout)
{
this._QueryString.Timeout(timeout);
return this;
}
///<summary>Wait until the specified number of shards is active</summary>
public ClusterHealthDescriptor WaitForActiveShards(int wait_for_active_shards)
{
this._QueryString.WaitForActiveShards(wait_for_active_shards);
return this;
}
///<summary>Wait until the specified number of nodes is available</summary>
public ClusterHealthDescriptor WaitForNodes(string wait_for_nodes)
{
this._QueryString.WaitForNodes(wait_for_nodes);
return this;
}
///<summary>Wait until the specified number of relocating shards is finished</summary>
public ClusterHealthDescriptor WaitForRelocatingShards(int wait_for_relocating_shards)
{
this._QueryString.WaitForRelocatingShards(wait_for_relocating_shards);
return this;
}
///<summary>Wait until cluster is in a specific state</summary>
public ClusterHealthDescriptor WaitForStatus(WaitForStatusOptions wait_for_status)
{
this._QueryString.WaitForStatus(wait_for_status);
return this;
}
}
///<summary>descriptor for ClusterPendingTasks
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/cluster-pending.html
///</pre>
///</summary>
public partial class ClusterPendingTasksDescriptor
{
internal ClusterPendingTasksRequestParameters _QueryString = new ClusterPendingTasksRequestParameters();
///<summary>Return local information, do not retrieve the state from master node (default: false)</summary>
public ClusterPendingTasksDescriptor Local(bool local = true)
{
this._QueryString.Local(local);
return this;
}
///<summary>Specify timeout for connection to master</summary>
public ClusterPendingTasksDescriptor MasterTimeout(string master_timeout)
{
this._QueryString.MasterTimeout(master_timeout);
return this;
}
}
///<summary>descriptor for ClusterPutSettings
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/cluster-update-settings.html
///</pre>
///</summary>
public partial class ClusterPutSettingsDescriptor
{
internal ClusterPutSettingsRequestParameters _QueryString = new ClusterPutSettingsRequestParameters();
///<summary>Return settings in flat format (default: false)</summary>
public ClusterPutSettingsDescriptor FlatSettings(bool flat_settings = true)
{
this._QueryString.FlatSettings(flat_settings);
return this;
}
}
///<summary>descriptor for ClusterReroute
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/cluster-reroute.html
///</pre>
///</summary>
public partial class ClusterRerouteDescriptor
{
internal ClusterRerouteRequestParameters _QueryString = new ClusterRerouteRequestParameters();
///<summary>Simulate the operation only and return the resulting state</summary>
public ClusterRerouteDescriptor DryRun(bool dry_run = true)
{
this._QueryString.DryRun(dry_run);
return this;
}
///<summary>Don't return cluster state metadata (default: false)</summary>
public ClusterRerouteDescriptor FilterMetadata(bool filter_metadata = true)
{
this._QueryString.FilterMetadata(filter_metadata);
return this;
}
///<summary>Explicit operation timeout for connection to master node</summary>
public ClusterRerouteDescriptor MasterTimeout(string master_timeout)
{
this._QueryString.MasterTimeout(master_timeout);
return this;
}
///<summary>Explicit operation timeout</summary>
public ClusterRerouteDescriptor Timeout(string timeout)
{
this._QueryString.Timeout(timeout);
return this;
}
}
///<summary>descriptor for ClusterState
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/cluster-state.html
///</pre>
///</summary>
public partial class ClusterStateDescriptor
{
internal ClusterStateRequestParameters _QueryString = new ClusterStateRequestParameters();
///<summary>Return local information, do not retrieve the state from master node (default: false)</summary>
public ClusterStateDescriptor Local(bool local = true)
{
this._QueryString.Local(local);
return this;
}
///<summary>Specify timeout for connection to master</summary>
public ClusterStateDescriptor MasterTimeout(string master_timeout)
{
this._QueryString.MasterTimeout(master_timeout);
return this;
}
///<summary>A comma separated list to return specific index templates when returning metadata</summary>
public ClusterStateDescriptor IndexTemplates(params string[] index_templates)
{
this._QueryString.IndexTemplates(index_templates);
return this;
}
///<summary>Return settings in flat format (default: false)</summary>
public ClusterStateDescriptor FlatSettings(bool flat_settings = true)
{
this._QueryString.FlatSettings(flat_settings);
return this;
}
}
///<summary>descriptor for ClusterStats
///<pre>
///http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/cluster-stats.html
///</pre>
///</summary>
public partial class ClusterStatsDescriptor
{