elasticsearch9 9.0.3__py3-none-any.whl → 9.0.4__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- elasticsearch9/_async/client/__init__.py +19 -6
- elasticsearch9/_async/client/cat.py +610 -26
- elasticsearch9/_async/client/esql.py +16 -6
- elasticsearch9/_async/client/indices.py +2 -2
- elasticsearch9/_async/client/sql.py +1 -1
- elasticsearch9/_async/client/transform.py +60 -0
- elasticsearch9/_sync/client/__init__.py +19 -6
- elasticsearch9/_sync/client/cat.py +610 -26
- elasticsearch9/_sync/client/esql.py +16 -6
- elasticsearch9/_sync/client/indices.py +2 -2
- elasticsearch9/_sync/client/sql.py +1 -1
- elasticsearch9/_sync/client/transform.py +60 -0
- elasticsearch9/_version.py +1 -1
- elasticsearch9/dsl/_async/document.py +84 -0
- elasticsearch9/dsl/_sync/document.py +84 -0
- elasticsearch9/dsl/document_base.py +43 -0
- elasticsearch9/dsl/field.py +23 -10
- elasticsearch9/dsl/response/aggs.py +1 -1
- elasticsearch9/dsl/types.py +20 -8
- elasticsearch9/dsl/utils.py +1 -1
- elasticsearch9/esql/__init__.py +2 -1
- elasticsearch9/esql/esql.py +85 -34
- elasticsearch9/esql/functions.py +37 -25
- {elasticsearch9-9.0.3.dist-info → elasticsearch9-9.0.4.dist-info}/METADATA +1 -3
- {elasticsearch9-9.0.3.dist-info → elasticsearch9-9.0.4.dist-info}/RECORD +28 -28
- {elasticsearch9-9.0.3.dist-info → elasticsearch9-9.0.4.dist-info}/WHEEL +0 -0
- {elasticsearch9-9.0.3.dist-info → elasticsearch9-9.0.4.dist-info}/licenses/LICENSE +0 -0
- {elasticsearch9-9.0.3.dist-info → elasticsearch9-9.0.4.dist-info}/licenses/NOTICE +0 -0
|
@@ -47,7 +47,34 @@ class CatClient(NamespacedClient):
|
|
|
47
47
|
] = None,
|
|
48
48
|
filter_path: t.Optional[t.Union[str, t.Sequence[str]]] = None,
|
|
49
49
|
format: t.Optional[str] = None,
|
|
50
|
-
h: t.Optional[
|
|
50
|
+
h: t.Optional[
|
|
51
|
+
t.Union[
|
|
52
|
+
t.Sequence[
|
|
53
|
+
t.Union[
|
|
54
|
+
str,
|
|
55
|
+
t.Literal[
|
|
56
|
+
"alias",
|
|
57
|
+
"filter",
|
|
58
|
+
"index",
|
|
59
|
+
"is_write_index",
|
|
60
|
+
"routing.index",
|
|
61
|
+
"routing.search",
|
|
62
|
+
],
|
|
63
|
+
]
|
|
64
|
+
],
|
|
65
|
+
t.Union[
|
|
66
|
+
str,
|
|
67
|
+
t.Literal[
|
|
68
|
+
"alias",
|
|
69
|
+
"filter",
|
|
70
|
+
"index",
|
|
71
|
+
"is_write_index",
|
|
72
|
+
"routing.index",
|
|
73
|
+
"routing.search",
|
|
74
|
+
],
|
|
75
|
+
],
|
|
76
|
+
]
|
|
77
|
+
] = None,
|
|
51
78
|
help: t.Optional[bool] = None,
|
|
52
79
|
human: t.Optional[bool] = None,
|
|
53
80
|
master_timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
|
|
@@ -74,7 +101,8 @@ class CatClient(NamespacedClient):
|
|
|
74
101
|
values, such as `open,hidden`.
|
|
75
102
|
:param format: Specifies the format to return the columnar data in, can be set
|
|
76
103
|
to `text`, `json`, `cbor`, `yaml`, or `smile`.
|
|
77
|
-
:param h:
|
|
104
|
+
:param h: A comma-separated list of columns names to display. It supports simple
|
|
105
|
+
wildcards.
|
|
78
106
|
:param help: When set to `true` will output available columns. This option can't
|
|
79
107
|
be combined with any other query string option.
|
|
80
108
|
:param master_timeout: The period to wait for a connection to the master node.
|
|
@@ -137,7 +165,48 @@ class CatClient(NamespacedClient):
|
|
|
137
165
|
error_trace: t.Optional[bool] = None,
|
|
138
166
|
filter_path: t.Optional[t.Union[str, t.Sequence[str]]] = None,
|
|
139
167
|
format: t.Optional[str] = None,
|
|
140
|
-
h: t.Optional[
|
|
168
|
+
h: t.Optional[
|
|
169
|
+
t.Union[
|
|
170
|
+
t.Sequence[
|
|
171
|
+
t.Union[
|
|
172
|
+
str,
|
|
173
|
+
t.Literal[
|
|
174
|
+
"disk.avail",
|
|
175
|
+
"disk.indices",
|
|
176
|
+
"disk.indices.forecast",
|
|
177
|
+
"disk.percent",
|
|
178
|
+
"disk.total",
|
|
179
|
+
"disk.used",
|
|
180
|
+
"host",
|
|
181
|
+
"ip",
|
|
182
|
+
"node",
|
|
183
|
+
"node.role",
|
|
184
|
+
"shards",
|
|
185
|
+
"shards.undesired",
|
|
186
|
+
"write_load.forecast",
|
|
187
|
+
],
|
|
188
|
+
]
|
|
189
|
+
],
|
|
190
|
+
t.Union[
|
|
191
|
+
str,
|
|
192
|
+
t.Literal[
|
|
193
|
+
"disk.avail",
|
|
194
|
+
"disk.indices",
|
|
195
|
+
"disk.indices.forecast",
|
|
196
|
+
"disk.percent",
|
|
197
|
+
"disk.total",
|
|
198
|
+
"disk.used",
|
|
199
|
+
"host",
|
|
200
|
+
"ip",
|
|
201
|
+
"node",
|
|
202
|
+
"node.role",
|
|
203
|
+
"shards",
|
|
204
|
+
"shards.undesired",
|
|
205
|
+
"write_load.forecast",
|
|
206
|
+
],
|
|
207
|
+
],
|
|
208
|
+
]
|
|
209
|
+
] = None,
|
|
141
210
|
help: t.Optional[bool] = None,
|
|
142
211
|
human: t.Optional[bool] = None,
|
|
143
212
|
local: t.Optional[bool] = None,
|
|
@@ -161,7 +230,8 @@ class CatClient(NamespacedClient):
|
|
|
161
230
|
:param bytes: The unit used to display byte values.
|
|
162
231
|
:param format: Specifies the format to return the columnar data in, can be set
|
|
163
232
|
to `text`, `json`, `cbor`, `yaml`, or `smile`.
|
|
164
|
-
:param h:
|
|
233
|
+
:param h: A comma-separated list of columns names to display. It supports simple
|
|
234
|
+
wildcards.
|
|
165
235
|
:param help: When set to `true` will output available columns. This option can't
|
|
166
236
|
be combined with any other query string option.
|
|
167
237
|
:param local: If `true`, the request computes the list of selected nodes from
|
|
@@ -224,7 +294,36 @@ class CatClient(NamespacedClient):
|
|
|
224
294
|
error_trace: t.Optional[bool] = None,
|
|
225
295
|
filter_path: t.Optional[t.Union[str, t.Sequence[str]]] = None,
|
|
226
296
|
format: t.Optional[str] = None,
|
|
227
|
-
h: t.Optional[
|
|
297
|
+
h: t.Optional[
|
|
298
|
+
t.Union[
|
|
299
|
+
t.Sequence[
|
|
300
|
+
t.Union[
|
|
301
|
+
str,
|
|
302
|
+
t.Literal[
|
|
303
|
+
"alias_count",
|
|
304
|
+
"included_in",
|
|
305
|
+
"mapping_count",
|
|
306
|
+
"metadata_count",
|
|
307
|
+
"name",
|
|
308
|
+
"settings_count",
|
|
309
|
+
"version",
|
|
310
|
+
],
|
|
311
|
+
]
|
|
312
|
+
],
|
|
313
|
+
t.Union[
|
|
314
|
+
str,
|
|
315
|
+
t.Literal[
|
|
316
|
+
"alias_count",
|
|
317
|
+
"included_in",
|
|
318
|
+
"mapping_count",
|
|
319
|
+
"metadata_count",
|
|
320
|
+
"name",
|
|
321
|
+
"settings_count",
|
|
322
|
+
"version",
|
|
323
|
+
],
|
|
324
|
+
],
|
|
325
|
+
]
|
|
326
|
+
] = None,
|
|
228
327
|
help: t.Optional[bool] = None,
|
|
229
328
|
human: t.Optional[bool] = None,
|
|
230
329
|
local: t.Optional[bool] = None,
|
|
@@ -249,7 +348,8 @@ class CatClient(NamespacedClient):
|
|
|
249
348
|
If it is omitted, all component templates are returned.
|
|
250
349
|
:param format: Specifies the format to return the columnar data in, can be set
|
|
251
350
|
to `text`, `json`, `cbor`, `yaml`, or `smile`.
|
|
252
|
-
:param h:
|
|
351
|
+
:param h: A comma-separated list of columns names to display. It supports simple
|
|
352
|
+
wildcards.
|
|
253
353
|
:param help: When set to `true` will output available columns. This option can't
|
|
254
354
|
be combined with any other query string option.
|
|
255
355
|
:param local: If `true`, the request computes the list of selected nodes from
|
|
@@ -310,7 +410,12 @@ class CatClient(NamespacedClient):
|
|
|
310
410
|
error_trace: t.Optional[bool] = None,
|
|
311
411
|
filter_path: t.Optional[t.Union[str, t.Sequence[str]]] = None,
|
|
312
412
|
format: t.Optional[str] = None,
|
|
313
|
-
h: t.Optional[
|
|
413
|
+
h: t.Optional[
|
|
414
|
+
t.Union[
|
|
415
|
+
t.Sequence[t.Union[str, t.Literal["count", "epoch", "timestamp"]]],
|
|
416
|
+
t.Union[str, t.Literal["count", "epoch", "timestamp"]],
|
|
417
|
+
]
|
|
418
|
+
] = None,
|
|
314
419
|
help: t.Optional[bool] = None,
|
|
315
420
|
human: t.Optional[bool] = None,
|
|
316
421
|
pretty: t.Optional[bool] = None,
|
|
@@ -334,7 +439,8 @@ class CatClient(NamespacedClient):
|
|
|
334
439
|
and indices, omit this parameter or use `*` or `_all`.
|
|
335
440
|
:param format: Specifies the format to return the columnar data in, can be set
|
|
336
441
|
to `text`, `json`, `cbor`, `yaml`, or `smile`.
|
|
337
|
-
:param h:
|
|
442
|
+
:param h: A comma-separated list of columns names to display. It supports simple
|
|
443
|
+
wildcards.
|
|
338
444
|
:param help: When set to `true` will output available columns. This option can't
|
|
339
445
|
be combined with any other query string option.
|
|
340
446
|
:param s: List of columns that determine how the table should be sorted. Sorting
|
|
@@ -389,7 +495,14 @@ class CatClient(NamespacedClient):
|
|
|
389
495
|
error_trace: t.Optional[bool] = None,
|
|
390
496
|
filter_path: t.Optional[t.Union[str, t.Sequence[str]]] = None,
|
|
391
497
|
format: t.Optional[str] = None,
|
|
392
|
-
h: t.Optional[
|
|
498
|
+
h: t.Optional[
|
|
499
|
+
t.Union[
|
|
500
|
+
t.Sequence[
|
|
501
|
+
t.Union[str, t.Literal["field", "host", "id", "ip", "node", "size"]]
|
|
502
|
+
],
|
|
503
|
+
t.Union[str, t.Literal["field", "host", "id", "ip", "node", "size"]],
|
|
504
|
+
]
|
|
505
|
+
] = None,
|
|
393
506
|
help: t.Optional[bool] = None,
|
|
394
507
|
human: t.Optional[bool] = None,
|
|
395
508
|
pretty: t.Optional[bool] = None,
|
|
@@ -412,7 +525,8 @@ class CatClient(NamespacedClient):
|
|
|
412
525
|
:param bytes: The unit used to display byte values.
|
|
413
526
|
:param format: Specifies the format to return the columnar data in, can be set
|
|
414
527
|
to `text`, `json`, `cbor`, `yaml`, or `smile`.
|
|
415
|
-
:param h:
|
|
528
|
+
:param h: A comma-separated list of columns names to display. It supports simple
|
|
529
|
+
wildcards.
|
|
416
530
|
:param help: When set to `true` will output available columns. This option can't
|
|
417
531
|
be combined with any other query string option.
|
|
418
532
|
:param s: List of columns that determine how the table should be sorted. Sorting
|
|
@@ -465,7 +579,52 @@ class CatClient(NamespacedClient):
|
|
|
465
579
|
error_trace: t.Optional[bool] = None,
|
|
466
580
|
filter_path: t.Optional[t.Union[str, t.Sequence[str]]] = None,
|
|
467
581
|
format: t.Optional[str] = None,
|
|
468
|
-
h: t.Optional[
|
|
582
|
+
h: t.Optional[
|
|
583
|
+
t.Union[
|
|
584
|
+
t.Sequence[
|
|
585
|
+
t.Union[
|
|
586
|
+
str,
|
|
587
|
+
t.Literal[
|
|
588
|
+
"active_shards_percent",
|
|
589
|
+
"cluster",
|
|
590
|
+
"epoch",
|
|
591
|
+
"init",
|
|
592
|
+
"max_task_wait_time",
|
|
593
|
+
"node.data",
|
|
594
|
+
"node.total",
|
|
595
|
+
"pending_tasks",
|
|
596
|
+
"pri",
|
|
597
|
+
"relo",
|
|
598
|
+
"shards",
|
|
599
|
+
"status",
|
|
600
|
+
"timestamp",
|
|
601
|
+
"unassign",
|
|
602
|
+
"unassign.pri",
|
|
603
|
+
],
|
|
604
|
+
]
|
|
605
|
+
],
|
|
606
|
+
t.Union[
|
|
607
|
+
str,
|
|
608
|
+
t.Literal[
|
|
609
|
+
"active_shards_percent",
|
|
610
|
+
"cluster",
|
|
611
|
+
"epoch",
|
|
612
|
+
"init",
|
|
613
|
+
"max_task_wait_time",
|
|
614
|
+
"node.data",
|
|
615
|
+
"node.total",
|
|
616
|
+
"pending_tasks",
|
|
617
|
+
"pri",
|
|
618
|
+
"relo",
|
|
619
|
+
"shards",
|
|
620
|
+
"status",
|
|
621
|
+
"timestamp",
|
|
622
|
+
"unassign",
|
|
623
|
+
"unassign.pri",
|
|
624
|
+
],
|
|
625
|
+
],
|
|
626
|
+
]
|
|
627
|
+
] = None,
|
|
469
628
|
help: t.Optional[bool] = None,
|
|
470
629
|
human: t.Optional[bool] = None,
|
|
471
630
|
pretty: t.Optional[bool] = None,
|
|
@@ -495,7 +654,8 @@ class CatClient(NamespacedClient):
|
|
|
495
654
|
|
|
496
655
|
:param format: Specifies the format to return the columnar data in, can be set
|
|
497
656
|
to `text`, `json`, `cbor`, `yaml`, or `smile`.
|
|
498
|
-
:param h:
|
|
657
|
+
:param h: A comma-separated list of columns names to display. It supports simple
|
|
658
|
+
wildcards.
|
|
499
659
|
:param help: When set to `true` will output available columns. This option can't
|
|
500
660
|
be combined with any other query string option.
|
|
501
661
|
:param s: List of columns that determine how the table should be sorted. Sorting
|
|
@@ -583,7 +743,316 @@ class CatClient(NamespacedClient):
|
|
|
583
743
|
] = None,
|
|
584
744
|
filter_path: t.Optional[t.Union[str, t.Sequence[str]]] = None,
|
|
585
745
|
format: t.Optional[str] = None,
|
|
586
|
-
h: t.Optional[
|
|
746
|
+
h: t.Optional[
|
|
747
|
+
t.Union[
|
|
748
|
+
t.Sequence[
|
|
749
|
+
t.Union[
|
|
750
|
+
str,
|
|
751
|
+
t.Literal[
|
|
752
|
+
"bulk.avg_size_in_bytes",
|
|
753
|
+
"bulk.avg_time",
|
|
754
|
+
"bulk.total_operations",
|
|
755
|
+
"bulk.total_size_in_bytes",
|
|
756
|
+
"bulk.total_time",
|
|
757
|
+
"completion.size",
|
|
758
|
+
"creation.date",
|
|
759
|
+
"creation.date.string",
|
|
760
|
+
"dataset.size",
|
|
761
|
+
"dense_vector.value_count",
|
|
762
|
+
"docs.count",
|
|
763
|
+
"docs.deleted",
|
|
764
|
+
"fielddata.evictions",
|
|
765
|
+
"fielddata.memory_size",
|
|
766
|
+
"flush.total",
|
|
767
|
+
"flush.total_time",
|
|
768
|
+
"get.current",
|
|
769
|
+
"get.exists_time",
|
|
770
|
+
"get.exists_total",
|
|
771
|
+
"get.missing_time",
|
|
772
|
+
"get.missing_total",
|
|
773
|
+
"get.time",
|
|
774
|
+
"get.total",
|
|
775
|
+
"health",
|
|
776
|
+
"index",
|
|
777
|
+
"indexing.delete_current",
|
|
778
|
+
"indexing.delete_time",
|
|
779
|
+
"indexing.delete_total",
|
|
780
|
+
"indexing.index_current",
|
|
781
|
+
"indexing.index_failed",
|
|
782
|
+
"indexing.index_failed_due_to_version_conflict",
|
|
783
|
+
"indexing.index_time",
|
|
784
|
+
"indexing.index_total",
|
|
785
|
+
"memory.total",
|
|
786
|
+
"merges.current",
|
|
787
|
+
"merges.current_docs",
|
|
788
|
+
"merges.current_size",
|
|
789
|
+
"merges.total",
|
|
790
|
+
"merges.total_docs",
|
|
791
|
+
"merges.total_size",
|
|
792
|
+
"merges.total_time",
|
|
793
|
+
"pri",
|
|
794
|
+
"pri.bulk.avg_size_in_bytes",
|
|
795
|
+
"pri.bulk.avg_time",
|
|
796
|
+
"pri.bulk.total_operations",
|
|
797
|
+
"pri.bulk.total_size_in_bytes",
|
|
798
|
+
"pri.bulk.total_time",
|
|
799
|
+
"pri.completion.size",
|
|
800
|
+
"pri.dense_vector.value_count",
|
|
801
|
+
"pri.fielddata.evictions",
|
|
802
|
+
"pri.fielddata.memory_size",
|
|
803
|
+
"pri.flush.total",
|
|
804
|
+
"pri.flush.total_time",
|
|
805
|
+
"pri.get.current",
|
|
806
|
+
"pri.get.exists_time",
|
|
807
|
+
"pri.get.exists_total",
|
|
808
|
+
"pri.get.missing_time",
|
|
809
|
+
"pri.get.missing_total",
|
|
810
|
+
"pri.get.time",
|
|
811
|
+
"pri.get.total",
|
|
812
|
+
"pri.indexing.delete_current",
|
|
813
|
+
"pri.indexing.delete_time",
|
|
814
|
+
"pri.indexing.delete_total",
|
|
815
|
+
"pri.indexing.index_current",
|
|
816
|
+
"pri.indexing.index_failed",
|
|
817
|
+
"pri.indexing.index_failed_due_to_version_conflict",
|
|
818
|
+
"pri.indexing.index_time",
|
|
819
|
+
"pri.indexing.index_total",
|
|
820
|
+
"pri.memory.total",
|
|
821
|
+
"pri.merges.current",
|
|
822
|
+
"pri.merges.current_docs",
|
|
823
|
+
"pri.merges.current_size",
|
|
824
|
+
"pri.merges.total",
|
|
825
|
+
"pri.merges.total_docs",
|
|
826
|
+
"pri.merges.total_size",
|
|
827
|
+
"pri.merges.total_time",
|
|
828
|
+
"pri.query_cache.evictions",
|
|
829
|
+
"pri.query_cache.memory_size",
|
|
830
|
+
"pri.refresh.external_time",
|
|
831
|
+
"pri.refresh.external_total",
|
|
832
|
+
"pri.refresh.listeners",
|
|
833
|
+
"pri.refresh.time",
|
|
834
|
+
"pri.refresh.total",
|
|
835
|
+
"pri.request_cache.evictions",
|
|
836
|
+
"pri.request_cache.hit_count",
|
|
837
|
+
"pri.request_cache.memory_size",
|
|
838
|
+
"pri.request_cache.miss_count",
|
|
839
|
+
"pri.search.fetch_current",
|
|
840
|
+
"pri.search.fetch_time",
|
|
841
|
+
"pri.search.fetch_total",
|
|
842
|
+
"pri.search.open_contexts",
|
|
843
|
+
"pri.search.query_current",
|
|
844
|
+
"pri.search.query_time",
|
|
845
|
+
"pri.search.query_total",
|
|
846
|
+
"pri.search.scroll_current",
|
|
847
|
+
"pri.search.scroll_time",
|
|
848
|
+
"pri.search.scroll_total",
|
|
849
|
+
"pri.segments.count",
|
|
850
|
+
"pri.segments.fixed_bitset_memory",
|
|
851
|
+
"pri.segments.index_writer_memory",
|
|
852
|
+
"pri.segments.memory",
|
|
853
|
+
"pri.segments.version_map_memory",
|
|
854
|
+
"pri.sparse_vector.value_count",
|
|
855
|
+
"pri.store.size",
|
|
856
|
+
"pri.suggest.current",
|
|
857
|
+
"pri.suggest.time",
|
|
858
|
+
"pri.suggest.total",
|
|
859
|
+
"pri.warmer.current",
|
|
860
|
+
"pri.warmer.total",
|
|
861
|
+
"pri.warmer.total_time",
|
|
862
|
+
"query_cache.evictions",
|
|
863
|
+
"query_cache.memory_size",
|
|
864
|
+
"refresh.external_time",
|
|
865
|
+
"refresh.external_total",
|
|
866
|
+
"refresh.listeners",
|
|
867
|
+
"refresh.time",
|
|
868
|
+
"refresh.total",
|
|
869
|
+
"rep",
|
|
870
|
+
"request_cache.evictions",
|
|
871
|
+
"request_cache.hit_count",
|
|
872
|
+
"request_cache.memory_size",
|
|
873
|
+
"request_cache.miss_count",
|
|
874
|
+
"search.fetch_current",
|
|
875
|
+
"search.fetch_time",
|
|
876
|
+
"search.fetch_total",
|
|
877
|
+
"search.open_contexts",
|
|
878
|
+
"search.query_current",
|
|
879
|
+
"search.query_time",
|
|
880
|
+
"search.query_total",
|
|
881
|
+
"search.scroll_current",
|
|
882
|
+
"search.scroll_time",
|
|
883
|
+
"search.scroll_total",
|
|
884
|
+
"segments.count",
|
|
885
|
+
"segments.fixed_bitset_memory",
|
|
886
|
+
"segments.index_writer_memory",
|
|
887
|
+
"segments.memory",
|
|
888
|
+
"segments.version_map_memory",
|
|
889
|
+
"sparse_vector.value_count",
|
|
890
|
+
"status",
|
|
891
|
+
"store.size",
|
|
892
|
+
"suggest.current",
|
|
893
|
+
"suggest.time",
|
|
894
|
+
"suggest.total",
|
|
895
|
+
"uuid",
|
|
896
|
+
"warmer.current",
|
|
897
|
+
"warmer.total",
|
|
898
|
+
"warmer.total_time",
|
|
899
|
+
],
|
|
900
|
+
]
|
|
901
|
+
],
|
|
902
|
+
t.Union[
|
|
903
|
+
str,
|
|
904
|
+
t.Literal[
|
|
905
|
+
"bulk.avg_size_in_bytes",
|
|
906
|
+
"bulk.avg_time",
|
|
907
|
+
"bulk.total_operations",
|
|
908
|
+
"bulk.total_size_in_bytes",
|
|
909
|
+
"bulk.total_time",
|
|
910
|
+
"completion.size",
|
|
911
|
+
"creation.date",
|
|
912
|
+
"creation.date.string",
|
|
913
|
+
"dataset.size",
|
|
914
|
+
"dense_vector.value_count",
|
|
915
|
+
"docs.count",
|
|
916
|
+
"docs.deleted",
|
|
917
|
+
"fielddata.evictions",
|
|
918
|
+
"fielddata.memory_size",
|
|
919
|
+
"flush.total",
|
|
920
|
+
"flush.total_time",
|
|
921
|
+
"get.current",
|
|
922
|
+
"get.exists_time",
|
|
923
|
+
"get.exists_total",
|
|
924
|
+
"get.missing_time",
|
|
925
|
+
"get.missing_total",
|
|
926
|
+
"get.time",
|
|
927
|
+
"get.total",
|
|
928
|
+
"health",
|
|
929
|
+
"index",
|
|
930
|
+
"indexing.delete_current",
|
|
931
|
+
"indexing.delete_time",
|
|
932
|
+
"indexing.delete_total",
|
|
933
|
+
"indexing.index_current",
|
|
934
|
+
"indexing.index_failed",
|
|
935
|
+
"indexing.index_failed_due_to_version_conflict",
|
|
936
|
+
"indexing.index_time",
|
|
937
|
+
"indexing.index_total",
|
|
938
|
+
"memory.total",
|
|
939
|
+
"merges.current",
|
|
940
|
+
"merges.current_docs",
|
|
941
|
+
"merges.current_size",
|
|
942
|
+
"merges.total",
|
|
943
|
+
"merges.total_docs",
|
|
944
|
+
"merges.total_size",
|
|
945
|
+
"merges.total_time",
|
|
946
|
+
"pri",
|
|
947
|
+
"pri.bulk.avg_size_in_bytes",
|
|
948
|
+
"pri.bulk.avg_time",
|
|
949
|
+
"pri.bulk.total_operations",
|
|
950
|
+
"pri.bulk.total_size_in_bytes",
|
|
951
|
+
"pri.bulk.total_time",
|
|
952
|
+
"pri.completion.size",
|
|
953
|
+
"pri.dense_vector.value_count",
|
|
954
|
+
"pri.fielddata.evictions",
|
|
955
|
+
"pri.fielddata.memory_size",
|
|
956
|
+
"pri.flush.total",
|
|
957
|
+
"pri.flush.total_time",
|
|
958
|
+
"pri.get.current",
|
|
959
|
+
"pri.get.exists_time",
|
|
960
|
+
"pri.get.exists_total",
|
|
961
|
+
"pri.get.missing_time",
|
|
962
|
+
"pri.get.missing_total",
|
|
963
|
+
"pri.get.time",
|
|
964
|
+
"pri.get.total",
|
|
965
|
+
"pri.indexing.delete_current",
|
|
966
|
+
"pri.indexing.delete_time",
|
|
967
|
+
"pri.indexing.delete_total",
|
|
968
|
+
"pri.indexing.index_current",
|
|
969
|
+
"pri.indexing.index_failed",
|
|
970
|
+
"pri.indexing.index_failed_due_to_version_conflict",
|
|
971
|
+
"pri.indexing.index_time",
|
|
972
|
+
"pri.indexing.index_total",
|
|
973
|
+
"pri.memory.total",
|
|
974
|
+
"pri.merges.current",
|
|
975
|
+
"pri.merges.current_docs",
|
|
976
|
+
"pri.merges.current_size",
|
|
977
|
+
"pri.merges.total",
|
|
978
|
+
"pri.merges.total_docs",
|
|
979
|
+
"pri.merges.total_size",
|
|
980
|
+
"pri.merges.total_time",
|
|
981
|
+
"pri.query_cache.evictions",
|
|
982
|
+
"pri.query_cache.memory_size",
|
|
983
|
+
"pri.refresh.external_time",
|
|
984
|
+
"pri.refresh.external_total",
|
|
985
|
+
"pri.refresh.listeners",
|
|
986
|
+
"pri.refresh.time",
|
|
987
|
+
"pri.refresh.total",
|
|
988
|
+
"pri.request_cache.evictions",
|
|
989
|
+
"pri.request_cache.hit_count",
|
|
990
|
+
"pri.request_cache.memory_size",
|
|
991
|
+
"pri.request_cache.miss_count",
|
|
992
|
+
"pri.search.fetch_current",
|
|
993
|
+
"pri.search.fetch_time",
|
|
994
|
+
"pri.search.fetch_total",
|
|
995
|
+
"pri.search.open_contexts",
|
|
996
|
+
"pri.search.query_current",
|
|
997
|
+
"pri.search.query_time",
|
|
998
|
+
"pri.search.query_total",
|
|
999
|
+
"pri.search.scroll_current",
|
|
1000
|
+
"pri.search.scroll_time",
|
|
1001
|
+
"pri.search.scroll_total",
|
|
1002
|
+
"pri.segments.count",
|
|
1003
|
+
"pri.segments.fixed_bitset_memory",
|
|
1004
|
+
"pri.segments.index_writer_memory",
|
|
1005
|
+
"pri.segments.memory",
|
|
1006
|
+
"pri.segments.version_map_memory",
|
|
1007
|
+
"pri.sparse_vector.value_count",
|
|
1008
|
+
"pri.store.size",
|
|
1009
|
+
"pri.suggest.current",
|
|
1010
|
+
"pri.suggest.time",
|
|
1011
|
+
"pri.suggest.total",
|
|
1012
|
+
"pri.warmer.current",
|
|
1013
|
+
"pri.warmer.total",
|
|
1014
|
+
"pri.warmer.total_time",
|
|
1015
|
+
"query_cache.evictions",
|
|
1016
|
+
"query_cache.memory_size",
|
|
1017
|
+
"refresh.external_time",
|
|
1018
|
+
"refresh.external_total",
|
|
1019
|
+
"refresh.listeners",
|
|
1020
|
+
"refresh.time",
|
|
1021
|
+
"refresh.total",
|
|
1022
|
+
"rep",
|
|
1023
|
+
"request_cache.evictions",
|
|
1024
|
+
"request_cache.hit_count",
|
|
1025
|
+
"request_cache.memory_size",
|
|
1026
|
+
"request_cache.miss_count",
|
|
1027
|
+
"search.fetch_current",
|
|
1028
|
+
"search.fetch_time",
|
|
1029
|
+
"search.fetch_total",
|
|
1030
|
+
"search.open_contexts",
|
|
1031
|
+
"search.query_current",
|
|
1032
|
+
"search.query_time",
|
|
1033
|
+
"search.query_total",
|
|
1034
|
+
"search.scroll_current",
|
|
1035
|
+
"search.scroll_time",
|
|
1036
|
+
"search.scroll_total",
|
|
1037
|
+
"segments.count",
|
|
1038
|
+
"segments.fixed_bitset_memory",
|
|
1039
|
+
"segments.index_writer_memory",
|
|
1040
|
+
"segments.memory",
|
|
1041
|
+
"segments.version_map_memory",
|
|
1042
|
+
"sparse_vector.value_count",
|
|
1043
|
+
"status",
|
|
1044
|
+
"store.size",
|
|
1045
|
+
"suggest.current",
|
|
1046
|
+
"suggest.time",
|
|
1047
|
+
"suggest.total",
|
|
1048
|
+
"uuid",
|
|
1049
|
+
"warmer.current",
|
|
1050
|
+
"warmer.total",
|
|
1051
|
+
"warmer.total_time",
|
|
1052
|
+
],
|
|
1053
|
+
],
|
|
1054
|
+
]
|
|
1055
|
+
] = None,
|
|
587
1056
|
health: t.Optional[
|
|
588
1057
|
t.Union[str, t.Literal["green", "red", "unavailable", "unknown", "yellow"]]
|
|
589
1058
|
] = None,
|
|
@@ -627,7 +1096,8 @@ class CatClient(NamespacedClient):
|
|
|
627
1096
|
:param expand_wildcards: The type of index that wildcard patterns can match.
|
|
628
1097
|
:param format: Specifies the format to return the columnar data in, can be set
|
|
629
1098
|
to `text`, `json`, `cbor`, `yaml`, or `smile`.
|
|
630
|
-
:param h:
|
|
1099
|
+
:param h: A comma-separated list of columns names to display. It supports simple
|
|
1100
|
+
wildcards.
|
|
631
1101
|
:param health: The health status used to limit returned indices. By default,
|
|
632
1102
|
the response includes indices of any health status.
|
|
633
1103
|
:param help: When set to `true` will output available columns. This option can't
|
|
@@ -699,7 +1169,12 @@ class CatClient(NamespacedClient):
|
|
|
699
1169
|
error_trace: t.Optional[bool] = None,
|
|
700
1170
|
filter_path: t.Optional[t.Union[str, t.Sequence[str]]] = None,
|
|
701
1171
|
format: t.Optional[str] = None,
|
|
702
|
-
h: t.Optional[
|
|
1172
|
+
h: t.Optional[
|
|
1173
|
+
t.Union[
|
|
1174
|
+
t.Sequence[t.Union[str, t.Literal["host", "id", "ip", "node"]]],
|
|
1175
|
+
t.Union[str, t.Literal["host", "id", "ip", "node"]],
|
|
1176
|
+
]
|
|
1177
|
+
] = None,
|
|
703
1178
|
help: t.Optional[bool] = None,
|
|
704
1179
|
human: t.Optional[bool] = None,
|
|
705
1180
|
local: t.Optional[bool] = None,
|
|
@@ -720,7 +1195,8 @@ class CatClient(NamespacedClient):
|
|
|
720
1195
|
|
|
721
1196
|
:param format: Specifies the format to return the columnar data in, can be set
|
|
722
1197
|
to `text`, `json`, `cbor`, `yaml`, or `smile`.
|
|
723
|
-
:param h:
|
|
1198
|
+
:param h: A comma-separated list of columns names to display. It supports simple
|
|
1199
|
+
wildcards.
|
|
724
1200
|
:param help: When set to `true` will output available columns. This option can't
|
|
725
1201
|
be combined with any other query string option.
|
|
726
1202
|
:param local: If `true`, the request computes the list of selected nodes from
|
|
@@ -1689,7 +2165,24 @@ class CatClient(NamespacedClient):
|
|
|
1689
2165
|
error_trace: t.Optional[bool] = None,
|
|
1690
2166
|
filter_path: t.Optional[t.Union[str, t.Sequence[str]]] = None,
|
|
1691
2167
|
format: t.Optional[str] = None,
|
|
1692
|
-
h: t.Optional[
|
|
2168
|
+
h: t.Optional[
|
|
2169
|
+
t.Union[
|
|
2170
|
+
t.Sequence[
|
|
2171
|
+
t.Union[
|
|
2172
|
+
str,
|
|
2173
|
+
t.Literal[
|
|
2174
|
+
"attr", "host", "id", "ip", "node", "pid", "port", "value"
|
|
2175
|
+
],
|
|
2176
|
+
]
|
|
2177
|
+
],
|
|
2178
|
+
t.Union[
|
|
2179
|
+
str,
|
|
2180
|
+
t.Literal[
|
|
2181
|
+
"attr", "host", "id", "ip", "node", "pid", "port", "value"
|
|
2182
|
+
],
|
|
2183
|
+
],
|
|
2184
|
+
]
|
|
2185
|
+
] = None,
|
|
1693
2186
|
help: t.Optional[bool] = None,
|
|
1694
2187
|
human: t.Optional[bool] = None,
|
|
1695
2188
|
local: t.Optional[bool] = None,
|
|
@@ -1710,7 +2203,8 @@ class CatClient(NamespacedClient):
|
|
|
1710
2203
|
|
|
1711
2204
|
:param format: Specifies the format to return the columnar data in, can be set
|
|
1712
2205
|
to `text`, `json`, `cbor`, `yaml`, or `smile`.
|
|
1713
|
-
:param h:
|
|
2206
|
+
:param h: A comma-separated list of columns names to display. It supports simple
|
|
2207
|
+
wildcards.
|
|
1714
2208
|
:param help: When set to `true` will output available columns. This option can't
|
|
1715
2209
|
be combined with any other query string option.
|
|
1716
2210
|
:param local: If `true`, the request computes the list of selected nodes from
|
|
@@ -2050,7 +2544,19 @@ class CatClient(NamespacedClient):
|
|
|
2050
2544
|
error_trace: t.Optional[bool] = None,
|
|
2051
2545
|
filter_path: t.Optional[t.Union[str, t.Sequence[str]]] = None,
|
|
2052
2546
|
format: t.Optional[str] = None,
|
|
2053
|
-
h: t.Optional[
|
|
2547
|
+
h: t.Optional[
|
|
2548
|
+
t.Union[
|
|
2549
|
+
t.Sequence[
|
|
2550
|
+
t.Union[
|
|
2551
|
+
str,
|
|
2552
|
+
t.Literal["insertOrder", "priority", "source", "timeInQueue"],
|
|
2553
|
+
]
|
|
2554
|
+
],
|
|
2555
|
+
t.Union[
|
|
2556
|
+
str, t.Literal["insertOrder", "priority", "source", "timeInQueue"]
|
|
2557
|
+
],
|
|
2558
|
+
]
|
|
2559
|
+
] = None,
|
|
2054
2560
|
help: t.Optional[bool] = None,
|
|
2055
2561
|
human: t.Optional[bool] = None,
|
|
2056
2562
|
local: t.Optional[bool] = None,
|
|
@@ -2074,7 +2580,8 @@ class CatClient(NamespacedClient):
|
|
|
2074
2580
|
|
|
2075
2581
|
:param format: Specifies the format to return the columnar data in, can be set
|
|
2076
2582
|
to `text`, `json`, `cbor`, `yaml`, or `smile`.
|
|
2077
|
-
:param h:
|
|
2583
|
+
:param h: A comma-separated list of columns names to display. It supports simple
|
|
2584
|
+
wildcards.
|
|
2078
2585
|
:param help: When set to `true` will output available columns. This option can't
|
|
2079
2586
|
be combined with any other query string option.
|
|
2080
2587
|
:param local: If `true`, the request computes the list of selected nodes from
|
|
@@ -2132,7 +2639,19 @@ class CatClient(NamespacedClient):
|
|
|
2132
2639
|
error_trace: t.Optional[bool] = None,
|
|
2133
2640
|
filter_path: t.Optional[t.Union[str, t.Sequence[str]]] = None,
|
|
2134
2641
|
format: t.Optional[str] = None,
|
|
2135
|
-
h: t.Optional[
|
|
2642
|
+
h: t.Optional[
|
|
2643
|
+
t.Union[
|
|
2644
|
+
t.Sequence[
|
|
2645
|
+
t.Union[
|
|
2646
|
+
str,
|
|
2647
|
+
t.Literal["component", "description", "id", "name", "version"],
|
|
2648
|
+
]
|
|
2649
|
+
],
|
|
2650
|
+
t.Union[
|
|
2651
|
+
str, t.Literal["component", "description", "id", "name", "version"]
|
|
2652
|
+
],
|
|
2653
|
+
]
|
|
2654
|
+
] = None,
|
|
2136
2655
|
help: t.Optional[bool] = None,
|
|
2137
2656
|
human: t.Optional[bool] = None,
|
|
2138
2657
|
include_bootstrap: t.Optional[bool] = None,
|
|
@@ -2154,7 +2673,8 @@ class CatClient(NamespacedClient):
|
|
|
2154
2673
|
|
|
2155
2674
|
:param format: Specifies the format to return the columnar data in, can be set
|
|
2156
2675
|
to `text`, `json`, `cbor`, `yaml`, or `smile`.
|
|
2157
|
-
:param h:
|
|
2676
|
+
:param h: A comma-separated list of columns names to display. It supports simple
|
|
2677
|
+
wildcards.
|
|
2158
2678
|
:param help: When set to `true` will output available columns. This option can't
|
|
2159
2679
|
be combined with any other query string option.
|
|
2160
2680
|
:param include_bootstrap: Include bootstrap plugins in the response
|
|
@@ -2972,7 +3492,52 @@ class CatClient(NamespacedClient):
|
|
|
2972
3492
|
error_trace: t.Optional[bool] = None,
|
|
2973
3493
|
filter_path: t.Optional[t.Union[str, t.Sequence[str]]] = None,
|
|
2974
3494
|
format: t.Optional[str] = None,
|
|
2975
|
-
h: t.Optional[
|
|
3495
|
+
h: t.Optional[
|
|
3496
|
+
t.Union[
|
|
3497
|
+
t.Sequence[
|
|
3498
|
+
t.Union[
|
|
3499
|
+
str,
|
|
3500
|
+
t.Literal[
|
|
3501
|
+
"action",
|
|
3502
|
+
"id",
|
|
3503
|
+
"ip",
|
|
3504
|
+
"node",
|
|
3505
|
+
"node_id",
|
|
3506
|
+
"parent_task_id",
|
|
3507
|
+
"port",
|
|
3508
|
+
"running_time",
|
|
3509
|
+
"running_time_ns",
|
|
3510
|
+
"start_time",
|
|
3511
|
+
"task_id",
|
|
3512
|
+
"timestamp",
|
|
3513
|
+
"type",
|
|
3514
|
+
"version",
|
|
3515
|
+
"x_opaque_id",
|
|
3516
|
+
],
|
|
3517
|
+
]
|
|
3518
|
+
],
|
|
3519
|
+
t.Union[
|
|
3520
|
+
str,
|
|
3521
|
+
t.Literal[
|
|
3522
|
+
"action",
|
|
3523
|
+
"id",
|
|
3524
|
+
"ip",
|
|
3525
|
+
"node",
|
|
3526
|
+
"node_id",
|
|
3527
|
+
"parent_task_id",
|
|
3528
|
+
"port",
|
|
3529
|
+
"running_time",
|
|
3530
|
+
"running_time_ns",
|
|
3531
|
+
"start_time",
|
|
3532
|
+
"task_id",
|
|
3533
|
+
"timestamp",
|
|
3534
|
+
"type",
|
|
3535
|
+
"version",
|
|
3536
|
+
"x_opaque_id",
|
|
3537
|
+
],
|
|
3538
|
+
],
|
|
3539
|
+
]
|
|
3540
|
+
] = None,
|
|
2976
3541
|
help: t.Optional[bool] = None,
|
|
2977
3542
|
human: t.Optional[bool] = None,
|
|
2978
3543
|
nodes: t.Optional[t.Sequence[str]] = None,
|
|
@@ -3001,7 +3566,8 @@ class CatClient(NamespacedClient):
|
|
|
3001
3566
|
shard recoveries.
|
|
3002
3567
|
:param format: Specifies the format to return the columnar data in, can be set
|
|
3003
3568
|
to `text`, `json`, `cbor`, `yaml`, or `smile`.
|
|
3004
|
-
:param h:
|
|
3569
|
+
:param h: A comma-separated list of columns names to display. It supports simple
|
|
3570
|
+
wildcards.
|
|
3005
3571
|
:param help: When set to `true` will output available columns. This option can't
|
|
3006
3572
|
be combined with any other query string option.
|
|
3007
3573
|
:param nodes: Unique node identifiers, which are used to limit the response.
|
|
@@ -3070,7 +3636,24 @@ class CatClient(NamespacedClient):
|
|
|
3070
3636
|
error_trace: t.Optional[bool] = None,
|
|
3071
3637
|
filter_path: t.Optional[t.Union[str, t.Sequence[str]]] = None,
|
|
3072
3638
|
format: t.Optional[str] = None,
|
|
3073
|
-
h: t.Optional[
|
|
3639
|
+
h: t.Optional[
|
|
3640
|
+
t.Union[
|
|
3641
|
+
t.Sequence[
|
|
3642
|
+
t.Union[
|
|
3643
|
+
str,
|
|
3644
|
+
t.Literal[
|
|
3645
|
+
"composed_of", "index_patterns", "name", "order", "version"
|
|
3646
|
+
],
|
|
3647
|
+
]
|
|
3648
|
+
],
|
|
3649
|
+
t.Union[
|
|
3650
|
+
str,
|
|
3651
|
+
t.Literal[
|
|
3652
|
+
"composed_of", "index_patterns", "name", "order", "version"
|
|
3653
|
+
],
|
|
3654
|
+
],
|
|
3655
|
+
]
|
|
3656
|
+
] = None,
|
|
3074
3657
|
help: t.Optional[bool] = None,
|
|
3075
3658
|
human: t.Optional[bool] = None,
|
|
3076
3659
|
local: t.Optional[bool] = None,
|
|
@@ -3094,7 +3677,8 @@ class CatClient(NamespacedClient):
|
|
|
3094
3677
|
If omitted, all templates are returned.
|
|
3095
3678
|
:param format: Specifies the format to return the columnar data in, can be set
|
|
3096
3679
|
to `text`, `json`, `cbor`, `yaml`, or `smile`.
|
|
3097
|
-
:param h:
|
|
3680
|
+
:param h: A comma-separated list of columns names to display. It supports simple
|
|
3681
|
+
wildcards.
|
|
3098
3682
|
:param help: When set to `true` will output available columns. This option can't
|
|
3099
3683
|
be combined with any other query string option.
|
|
3100
3684
|
:param local: If `true`, the request computes the list of selected nodes from
|