elasticsearch 8.16.0__py3-none-any.whl → 8.17.0__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.
- elasticsearch/_async/client/__init__.py +82 -46
- elasticsearch/_async/client/async_search.py +12 -22
- elasticsearch/_async/client/autoscaling.py +39 -4
- elasticsearch/_async/client/cat.py +26 -26
- elasticsearch/_async/client/ccr.py +85 -35
- elasticsearch/_async/client/cluster.py +141 -49
- elasticsearch/_async/client/connector.py +25 -25
- elasticsearch/_async/client/dangling_indices.py +3 -3
- elasticsearch/_async/client/enrich.py +6 -6
- elasticsearch/_async/client/eql.py +13 -11
- elasticsearch/_async/client/esql.py +3 -2
- elasticsearch/_async/client/features.py +27 -5
- elasticsearch/_async/client/fleet.py +1 -1
- elasticsearch/_async/client/graph.py +9 -3
- elasticsearch/_async/client/ilm.py +69 -34
- elasticsearch/_async/client/indices.py +307 -105
- elasticsearch/_async/client/inference.py +5 -15
- elasticsearch/_async/client/ingest.py +28 -23
- elasticsearch/_async/client/license.py +38 -22
- elasticsearch/_async/client/logstash.py +3 -3
- elasticsearch/_async/client/migration.py +3 -3
- elasticsearch/_async/client/ml.py +125 -73
- elasticsearch/_async/client/monitoring.py +1 -1
- elasticsearch/_async/client/nodes.py +34 -20
- elasticsearch/_async/client/query_rules.py +17 -16
- elasticsearch/_async/client/rollup.py +8 -8
- elasticsearch/_async/client/search_application.py +8 -8
- elasticsearch/_async/client/searchable_snapshots.py +4 -4
- elasticsearch/_async/client/security.py +64 -57
- elasticsearch/_async/client/slm.py +9 -9
- elasticsearch/_async/client/snapshot.py +12 -12
- elasticsearch/_async/client/sql.py +16 -15
- elasticsearch/_async/client/ssl.py +1 -1
- elasticsearch/_async/client/synonyms.py +17 -14
- elasticsearch/_async/client/tasks.py +3 -3
- elasticsearch/_async/client/text_structure.py +2 -2
- elasticsearch/_async/client/transform.py +11 -11
- elasticsearch/_async/client/watcher.py +11 -11
- elasticsearch/_async/client/xpack.py +2 -2
- elasticsearch/_sync/client/__init__.py +82 -46
- elasticsearch/_sync/client/async_search.py +12 -22
- elasticsearch/_sync/client/autoscaling.py +39 -4
- elasticsearch/_sync/client/cat.py +26 -26
- elasticsearch/_sync/client/ccr.py +85 -35
- elasticsearch/_sync/client/cluster.py +141 -49
- elasticsearch/_sync/client/connector.py +25 -25
- elasticsearch/_sync/client/dangling_indices.py +3 -3
- elasticsearch/_sync/client/enrich.py +6 -6
- elasticsearch/_sync/client/eql.py +13 -11
- elasticsearch/_sync/client/esql.py +3 -2
- elasticsearch/_sync/client/features.py +27 -5
- elasticsearch/_sync/client/fleet.py +1 -1
- elasticsearch/_sync/client/graph.py +9 -3
- elasticsearch/_sync/client/ilm.py +69 -34
- elasticsearch/_sync/client/indices.py +307 -105
- elasticsearch/_sync/client/inference.py +5 -15
- elasticsearch/_sync/client/ingest.py +28 -23
- elasticsearch/_sync/client/license.py +38 -22
- elasticsearch/_sync/client/logstash.py +3 -3
- elasticsearch/_sync/client/migration.py +3 -3
- elasticsearch/_sync/client/ml.py +125 -73
- elasticsearch/_sync/client/monitoring.py +1 -1
- elasticsearch/_sync/client/nodes.py +34 -20
- elasticsearch/_sync/client/query_rules.py +17 -16
- elasticsearch/_sync/client/rollup.py +8 -8
- elasticsearch/_sync/client/search_application.py +8 -8
- elasticsearch/_sync/client/searchable_snapshots.py +4 -4
- elasticsearch/_sync/client/security.py +64 -57
- elasticsearch/_sync/client/slm.py +9 -9
- elasticsearch/_sync/client/snapshot.py +12 -12
- elasticsearch/_sync/client/sql.py +16 -15
- elasticsearch/_sync/client/ssl.py +1 -1
- elasticsearch/_sync/client/synonyms.py +17 -14
- elasticsearch/_sync/client/tasks.py +3 -3
- elasticsearch/_sync/client/text_structure.py +2 -2
- elasticsearch/_sync/client/transform.py +11 -11
- elasticsearch/_sync/client/watcher.py +11 -11
- elasticsearch/_sync/client/xpack.py +2 -2
- elasticsearch/_version.py +1 -1
- {elasticsearch-8.16.0.dist-info → elasticsearch-8.17.0.dist-info}/METADATA +6 -4
- elasticsearch-8.17.0.dist-info/RECORD +117 -0
- {elasticsearch-8.16.0.dist-info → elasticsearch-8.17.0.dist-info}/WHEEL +1 -1
- elasticsearch-8.16.0.dist-info/RECORD +0 -117
- {elasticsearch-8.16.0.dist-info → elasticsearch-8.17.0.dist-info}/licenses/LICENSE +0 -0
- {elasticsearch-8.16.0.dist-info → elasticsearch-8.17.0.dist-info}/licenses/NOTICE +0 -0
|
@@ -44,7 +44,7 @@ class MonitoringClient(NamespacedClient):
|
|
|
44
44
|
"""
|
|
45
45
|
Used by the monitoring features to send monitoring data.
|
|
46
46
|
|
|
47
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
47
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/monitor-elasticsearch-cluster.html>`_
|
|
48
48
|
|
|
49
49
|
:param interval: Collection interval (e.g., '10s' or '10000ms') of the payload
|
|
50
50
|
:param operations:
|
|
@@ -44,10 +44,10 @@ class NodesClient(NamespacedClient):
|
|
|
44
44
|
pretty: t.Optional[bool] = None,
|
|
45
45
|
) -> ObjectApiResponse[t.Any]:
|
|
46
46
|
"""
|
|
47
|
-
|
|
48
|
-
in the cluster.
|
|
47
|
+
Clear the archived repositories metering. Clear the archived repositories metering
|
|
48
|
+
information in the cluster.
|
|
49
49
|
|
|
50
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
50
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/clear-repositories-metering-archive-api.html>`_
|
|
51
51
|
|
|
52
52
|
:param node_id: Comma-separated list of node IDs or names used to limit returned
|
|
53
53
|
information. All the nodes selective options are explained [here](https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster.html#cluster-nodes).
|
|
@@ -94,13 +94,13 @@ class NodesClient(NamespacedClient):
|
|
|
94
94
|
pretty: t.Optional[bool] = None,
|
|
95
95
|
) -> ObjectApiResponse[t.Any]:
|
|
96
96
|
"""
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
97
|
+
Get cluster repositories metering. Get repositories metering information for
|
|
98
|
+
a cluster. This API exposes monotonically non-decreasing counters and it is expected
|
|
99
|
+
that clients would durably store the information needed to compute aggregations
|
|
100
|
+
over a period of time. Additionally, the information exposed by this API is volatile,
|
|
101
|
+
meaning that it will not be present after node restarts.
|
|
102
102
|
|
|
103
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
103
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/get-repositories-metering-api.html>`_
|
|
104
104
|
|
|
105
105
|
:param node_id: Comma-separated list of node IDs or names used to limit returned
|
|
106
106
|
information. All the nodes selective options are explained [here](https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster.html#cluster-nodes).
|
|
@@ -151,10 +151,11 @@ class NodesClient(NamespacedClient):
|
|
|
151
151
|
] = None,
|
|
152
152
|
) -> TextApiResponse:
|
|
153
153
|
"""
|
|
154
|
-
|
|
155
|
-
The output is plain text with a breakdown of
|
|
154
|
+
Get the hot threads for nodes. Get a breakdown of the hot threads on each selected
|
|
155
|
+
node in the cluster. The output is plain text with a breakdown of the top hot
|
|
156
|
+
threads for each node.
|
|
156
157
|
|
|
157
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
158
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cluster-nodes-hot-threads.html>`_
|
|
158
159
|
|
|
159
160
|
:param node_id: List of node IDs or names used to limit returned information.
|
|
160
161
|
:param ignore_idle_threads: If true, known idle threads (e.g. waiting in a socket
|
|
@@ -227,9 +228,10 @@ class NodesClient(NamespacedClient):
|
|
|
227
228
|
timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
|
|
228
229
|
) -> ObjectApiResponse[t.Any]:
|
|
229
230
|
"""
|
|
230
|
-
|
|
231
|
+
Get node information. By default, the API returns all attributes and core settings
|
|
232
|
+
for cluster nodes.
|
|
231
233
|
|
|
232
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
234
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cluster-nodes-info.html>`_
|
|
233
235
|
|
|
234
236
|
:param node_id: Comma-separated list of node IDs or names used to limit returned
|
|
235
237
|
information.
|
|
@@ -296,9 +298,20 @@ class NodesClient(NamespacedClient):
|
|
|
296
298
|
body: t.Optional[t.Dict[str, t.Any]] = None,
|
|
297
299
|
) -> ObjectApiResponse[t.Any]:
|
|
298
300
|
"""
|
|
299
|
-
|
|
301
|
+
Reload the keystore on nodes in the cluster. Secure settings are stored in an
|
|
302
|
+
on-disk keystore. Certain of these settings are reloadable. That is, you can
|
|
303
|
+
change them on disk and reload them without restarting any nodes in the cluster.
|
|
304
|
+
When you have updated reloadable secure settings in your keystore, you can use
|
|
305
|
+
this API to reload those settings on each node. When the Elasticsearch keystore
|
|
306
|
+
is password protected and not simply obfuscated, you must provide the password
|
|
307
|
+
for the keystore when you reload the secure settings. Reloading the settings
|
|
308
|
+
for the whole cluster assumes that the keystores for all nodes are protected
|
|
309
|
+
with the same password; this method is allowed only when inter-node communications
|
|
310
|
+
are encrypted. Alternatively, you can reload the secure settings on each node
|
|
311
|
+
by locally accessing the API and passing the node-specific Elasticsearch keystore
|
|
312
|
+
password.
|
|
300
313
|
|
|
301
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
314
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/secure-settings.html#reloadable-secure-settings>`_
|
|
302
315
|
|
|
303
316
|
:param node_id: The names of particular nodes in the cluster to target.
|
|
304
317
|
:param secure_settings_password: The password for the Elasticsearch keystore.
|
|
@@ -367,9 +380,10 @@ class NodesClient(NamespacedClient):
|
|
|
367
380
|
types: t.Optional[t.Sequence[str]] = None,
|
|
368
381
|
) -> ObjectApiResponse[t.Any]:
|
|
369
382
|
"""
|
|
370
|
-
|
|
383
|
+
Get node statistics. Get statistics for nodes in a cluster. By default, all stats
|
|
384
|
+
are returned. You can limit the returned information by using metrics.
|
|
371
385
|
|
|
372
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
386
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cluster-nodes-stats.html>`_
|
|
373
387
|
|
|
374
388
|
:param node_id: Comma-separated list of node IDs or names used to limit returned
|
|
375
389
|
information.
|
|
@@ -484,9 +498,9 @@ class NodesClient(NamespacedClient):
|
|
|
484
498
|
timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
|
|
485
499
|
) -> ObjectApiResponse[t.Any]:
|
|
486
500
|
"""
|
|
487
|
-
|
|
501
|
+
Get feature usage information.
|
|
488
502
|
|
|
489
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
503
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/cluster-nodes-usage.html>`_
|
|
490
504
|
|
|
491
505
|
:param node_id: A comma-separated list of node IDs or names to limit the returned
|
|
492
506
|
information; use `_local` to return information from the node you're connecting
|
|
@@ -37,9 +37,9 @@ class QueryRulesClient(NamespacedClient):
|
|
|
37
37
|
pretty: t.Optional[bool] = None,
|
|
38
38
|
) -> ObjectApiResponse[t.Any]:
|
|
39
39
|
"""
|
|
40
|
-
|
|
40
|
+
Delete a query rule. Delete a query rule within a query ruleset.
|
|
41
41
|
|
|
42
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
42
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/delete-query-rule.html>`_
|
|
43
43
|
|
|
44
44
|
:param ruleset_id: The unique identifier of the query ruleset containing the
|
|
45
45
|
rule to delete
|
|
@@ -85,9 +85,9 @@ class QueryRulesClient(NamespacedClient):
|
|
|
85
85
|
pretty: t.Optional[bool] = None,
|
|
86
86
|
) -> ObjectApiResponse[t.Any]:
|
|
87
87
|
"""
|
|
88
|
-
|
|
88
|
+
Delete a query ruleset.
|
|
89
89
|
|
|
90
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
90
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/delete-query-ruleset.html>`_
|
|
91
91
|
|
|
92
92
|
:param ruleset_id: The unique identifier of the query ruleset to delete
|
|
93
93
|
"""
|
|
@@ -126,9 +126,9 @@ class QueryRulesClient(NamespacedClient):
|
|
|
126
126
|
pretty: t.Optional[bool] = None,
|
|
127
127
|
) -> ObjectApiResponse[t.Any]:
|
|
128
128
|
"""
|
|
129
|
-
|
|
129
|
+
Get a query rule. Get details about a query rule within a query ruleset.
|
|
130
130
|
|
|
131
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
131
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/get-query-rule.html>`_
|
|
132
132
|
|
|
133
133
|
:param ruleset_id: The unique identifier of the query ruleset containing the
|
|
134
134
|
rule to retrieve
|
|
@@ -174,9 +174,9 @@ class QueryRulesClient(NamespacedClient):
|
|
|
174
174
|
pretty: t.Optional[bool] = None,
|
|
175
175
|
) -> ObjectApiResponse[t.Any]:
|
|
176
176
|
"""
|
|
177
|
-
|
|
177
|
+
Get a query ruleset. Get details about a query ruleset.
|
|
178
178
|
|
|
179
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
179
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/get-query-ruleset.html>`_
|
|
180
180
|
|
|
181
181
|
:param ruleset_id: The unique identifier of the query ruleset
|
|
182
182
|
"""
|
|
@@ -217,9 +217,9 @@ class QueryRulesClient(NamespacedClient):
|
|
|
217
217
|
size: t.Optional[int] = None,
|
|
218
218
|
) -> ObjectApiResponse[t.Any]:
|
|
219
219
|
"""
|
|
220
|
-
|
|
220
|
+
Get all query rulesets. Get summarized information about the query rulesets.
|
|
221
221
|
|
|
222
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
222
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/list-query-rulesets.html>`_
|
|
223
223
|
|
|
224
224
|
:param from_: Starting offset (default: 0)
|
|
225
225
|
:param size: specifies a max number of results to get
|
|
@@ -270,9 +270,9 @@ class QueryRulesClient(NamespacedClient):
|
|
|
270
270
|
body: t.Optional[t.Dict[str, t.Any]] = None,
|
|
271
271
|
) -> ObjectApiResponse[t.Any]:
|
|
272
272
|
"""
|
|
273
|
-
|
|
273
|
+
Create or update a query rule. Create or update a query rule within a query ruleset.
|
|
274
274
|
|
|
275
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
275
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/put-query-rule.html>`_
|
|
276
276
|
|
|
277
277
|
:param ruleset_id: The unique identifier of the query ruleset containing the
|
|
278
278
|
rule to be created or updated
|
|
@@ -345,9 +345,9 @@ class QueryRulesClient(NamespacedClient):
|
|
|
345
345
|
body: t.Optional[t.Dict[str, t.Any]] = None,
|
|
346
346
|
) -> ObjectApiResponse[t.Any]:
|
|
347
347
|
"""
|
|
348
|
-
|
|
348
|
+
Create or update a query ruleset.
|
|
349
349
|
|
|
350
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
350
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/put-query-ruleset.html>`_
|
|
351
351
|
|
|
352
352
|
:param ruleset_id: The unique identifier of the query ruleset to be created or
|
|
353
353
|
updated
|
|
@@ -398,9 +398,10 @@ class QueryRulesClient(NamespacedClient):
|
|
|
398
398
|
body: t.Optional[t.Dict[str, t.Any]] = None,
|
|
399
399
|
) -> ObjectApiResponse[t.Any]:
|
|
400
400
|
"""
|
|
401
|
-
|
|
401
|
+
Test a query ruleset. Evaluate match criteria against a query ruleset to identify
|
|
402
|
+
the rules that would match that criteria.
|
|
402
403
|
|
|
403
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
404
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/test-query-ruleset.html>`_
|
|
404
405
|
|
|
405
406
|
:param ruleset_id: The unique identifier of the query ruleset to be created or
|
|
406
407
|
updated
|
|
@@ -45,7 +45,7 @@ class RollupClient(NamespacedClient):
|
|
|
45
45
|
"""
|
|
46
46
|
Deletes an existing rollup job.
|
|
47
47
|
|
|
48
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
48
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/rollup-delete-job.html>`_
|
|
49
49
|
|
|
50
50
|
:param id: Identifier for the job.
|
|
51
51
|
"""
|
|
@@ -86,7 +86,7 @@ class RollupClient(NamespacedClient):
|
|
|
86
86
|
"""
|
|
87
87
|
Retrieves the configuration, stats, and status of rollup jobs.
|
|
88
88
|
|
|
89
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
89
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/rollup-get-job.html>`_
|
|
90
90
|
|
|
91
91
|
:param id: Identifier for the rollup job. If it is `_all` or omitted, the API
|
|
92
92
|
returns all rollup jobs.
|
|
@@ -132,7 +132,7 @@ class RollupClient(NamespacedClient):
|
|
|
132
132
|
Returns the capabilities of any rollup jobs that have been configured for a specific
|
|
133
133
|
index or index pattern.
|
|
134
134
|
|
|
135
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
135
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/rollup-get-rollup-caps.html>`_
|
|
136
136
|
|
|
137
137
|
:param id: Index, indices or index-pattern to return rollup capabilities for.
|
|
138
138
|
`_all` may be used to fetch rollup capabilities from all jobs.
|
|
@@ -178,7 +178,7 @@ class RollupClient(NamespacedClient):
|
|
|
178
178
|
Returns the rollup capabilities of all jobs inside of a rollup index (for example,
|
|
179
179
|
the index where rollup data is stored).
|
|
180
180
|
|
|
181
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
181
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/rollup-get-rollup-index-caps.html>`_
|
|
182
182
|
|
|
183
183
|
:param index: Data stream or index to check for rollup capabilities. Wildcard
|
|
184
184
|
(`*`) expressions are supported.
|
|
@@ -241,7 +241,7 @@ class RollupClient(NamespacedClient):
|
|
|
241
241
|
"""
|
|
242
242
|
Creates a rollup job.
|
|
243
243
|
|
|
244
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
244
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/rollup-put-job.html>`_
|
|
245
245
|
|
|
246
246
|
:param id: Identifier for the rollup job. This can be any alphanumeric string
|
|
247
247
|
and uniquely identifies the data that is associated with the rollup job.
|
|
@@ -358,7 +358,7 @@ class RollupClient(NamespacedClient):
|
|
|
358
358
|
"""
|
|
359
359
|
Enables searching rolled-up data using the standard Query DSL.
|
|
360
360
|
|
|
361
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
361
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/rollup-search.html>`_
|
|
362
362
|
|
|
363
363
|
:param index: Enables searching rolled-up data using the standard Query DSL.
|
|
364
364
|
:param aggregations: Specifies aggregations.
|
|
@@ -422,7 +422,7 @@ class RollupClient(NamespacedClient):
|
|
|
422
422
|
"""
|
|
423
423
|
Starts an existing, stopped rollup job.
|
|
424
424
|
|
|
425
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
425
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/rollup-start-job.html>`_
|
|
426
426
|
|
|
427
427
|
:param id: Identifier for the rollup job.
|
|
428
428
|
"""
|
|
@@ -465,7 +465,7 @@ class RollupClient(NamespacedClient):
|
|
|
465
465
|
"""
|
|
466
466
|
Stops an existing, started rollup job.
|
|
467
467
|
|
|
468
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
468
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/rollup-stop-job.html>`_
|
|
469
469
|
|
|
470
470
|
:param id: Identifier for the rollup job.
|
|
471
471
|
:param timeout: If `wait_for_completion` is `true`, the API blocks for (at maximum)
|
|
@@ -46,7 +46,7 @@ class SearchApplicationClient(NamespacedClient):
|
|
|
46
46
|
Delete a search application. Remove a search application and its associated alias.
|
|
47
47
|
Indices attached to the search application are not removed.
|
|
48
48
|
|
|
49
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
49
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/delete-search-application.html>`_
|
|
50
50
|
|
|
51
51
|
:param name: The name of the search application to delete
|
|
52
52
|
"""
|
|
@@ -88,7 +88,7 @@ class SearchApplicationClient(NamespacedClient):
|
|
|
88
88
|
Delete a behavioral analytics collection. The associated data stream is also
|
|
89
89
|
deleted.
|
|
90
90
|
|
|
91
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
91
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/delete-analytics-collection.html>`_
|
|
92
92
|
|
|
93
93
|
:param name: The name of the analytics collection to be deleted
|
|
94
94
|
"""
|
|
@@ -129,7 +129,7 @@ class SearchApplicationClient(NamespacedClient):
|
|
|
129
129
|
"""
|
|
130
130
|
Get search application details.
|
|
131
131
|
|
|
132
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
132
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/get-search-application.html>`_
|
|
133
133
|
|
|
134
134
|
:param name: The name of the search application
|
|
135
135
|
"""
|
|
@@ -170,7 +170,7 @@ class SearchApplicationClient(NamespacedClient):
|
|
|
170
170
|
"""
|
|
171
171
|
Get behavioral analytics collections.
|
|
172
172
|
|
|
173
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
173
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/list-analytics-collection.html>`_
|
|
174
174
|
|
|
175
175
|
:param name: A list of analytics collections to limit the returned information
|
|
176
176
|
"""
|
|
@@ -218,7 +218,7 @@ class SearchApplicationClient(NamespacedClient):
|
|
|
218
218
|
"""
|
|
219
219
|
Returns the existing search applications.
|
|
220
220
|
|
|
221
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
221
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/list-search-applications.html>`_
|
|
222
222
|
|
|
223
223
|
:param from_: Starting offset.
|
|
224
224
|
:param q: Query in the Lucene query string syntax.
|
|
@@ -270,7 +270,7 @@ class SearchApplicationClient(NamespacedClient):
|
|
|
270
270
|
"""
|
|
271
271
|
Create or update a search application.
|
|
272
272
|
|
|
273
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
273
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/put-search-application.html>`_
|
|
274
274
|
|
|
275
275
|
:param name: The name of the search application to be created or updated.
|
|
276
276
|
:param search_application:
|
|
@@ -324,7 +324,7 @@ class SearchApplicationClient(NamespacedClient):
|
|
|
324
324
|
"""
|
|
325
325
|
Create a behavioral analytics collection.
|
|
326
326
|
|
|
327
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
327
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/put-analytics-collection.html>`_
|
|
328
328
|
|
|
329
329
|
:param name: The name of the analytics collection to be created or updated.
|
|
330
330
|
"""
|
|
@@ -374,7 +374,7 @@ class SearchApplicationClient(NamespacedClient):
|
|
|
374
374
|
the search application or default template. Unspecified template parameters are
|
|
375
375
|
assigned their default values if applicable.
|
|
376
376
|
|
|
377
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
377
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/search-application-search.html>`_
|
|
378
378
|
|
|
379
379
|
:param name: The name of the search application to be searched.
|
|
380
380
|
:param params: Query parameters specific to this request, which will override
|
|
@@ -46,7 +46,7 @@ class SearchableSnapshotsClient(NamespacedClient):
|
|
|
46
46
|
"""
|
|
47
47
|
Retrieve node-level cache statistics about searchable snapshots.
|
|
48
48
|
|
|
49
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
49
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/searchable-snapshots-apis.html>`_
|
|
50
50
|
|
|
51
51
|
:param node_id: A comma-separated list of node IDs or names to limit the returned
|
|
52
52
|
information; use `_local` to return information from the node you're connecting
|
|
@@ -105,7 +105,7 @@ class SearchableSnapshotsClient(NamespacedClient):
|
|
|
105
105
|
"""
|
|
106
106
|
Clear the cache of searchable snapshots.
|
|
107
107
|
|
|
108
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
108
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/searchable-snapshots-apis.html>`_
|
|
109
109
|
|
|
110
110
|
:param index: A comma-separated list of index names
|
|
111
111
|
:param allow_no_indices: Whether to ignore if a wildcard indices expression resolves
|
|
@@ -177,7 +177,7 @@ class SearchableSnapshotsClient(NamespacedClient):
|
|
|
177
177
|
"""
|
|
178
178
|
Mount a snapshot as a searchable index.
|
|
179
179
|
|
|
180
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
180
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/searchable-snapshots-api-mount-snapshot.html>`_
|
|
181
181
|
|
|
182
182
|
:param repository: The name of the repository containing the snapshot of the
|
|
183
183
|
index to mount
|
|
@@ -257,7 +257,7 @@ class SearchableSnapshotsClient(NamespacedClient):
|
|
|
257
257
|
"""
|
|
258
258
|
Retrieve shard-level statistics about searchable snapshots.
|
|
259
259
|
|
|
260
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
260
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/searchable-snapshots-apis.html>`_
|
|
261
261
|
|
|
262
262
|
:param index: A comma-separated list of index names
|
|
263
263
|
:param level: Return stats aggregated at cluster, index or shard level
|