elasticsearch 8.17.2__py3-none-any.whl → 8.18.1__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 +174 -79
- elasticsearch/_async/client/_base.py +0 -1
- elasticsearch/_async/client/async_search.py +12 -8
- elasticsearch/_async/client/autoscaling.py +4 -4
- elasticsearch/_async/client/cat.py +26 -26
- elasticsearch/_async/client/ccr.py +186 -72
- elasticsearch/_async/client/cluster.py +38 -19
- elasticsearch/_async/client/connector.py +30 -30
- elasticsearch/_async/client/dangling_indices.py +3 -3
- elasticsearch/_async/client/enrich.py +26 -5
- elasticsearch/_async/client/eql.py +32 -4
- elasticsearch/_async/client/esql.py +62 -6
- elasticsearch/_async/client/features.py +12 -2
- elasticsearch/_async/client/fleet.py +8 -2
- elasticsearch/_async/client/graph.py +1 -1
- elasticsearch/_async/client/ilm.py +23 -22
- elasticsearch/_async/client/indices.py +424 -132
- elasticsearch/_async/client/inference.py +1906 -61
- elasticsearch/_async/client/ingest.py +32 -38
- elasticsearch/_async/client/license.py +51 -16
- elasticsearch/_async/client/logstash.py +3 -3
- elasticsearch/_async/client/migration.py +3 -3
- elasticsearch/_async/client/ml.py +144 -115
- elasticsearch/_async/client/monitoring.py +1 -1
- elasticsearch/_async/client/nodes.py +9 -27
- elasticsearch/_async/client/query_rules.py +8 -8
- elasticsearch/_async/client/rollup.py +8 -8
- elasticsearch/_async/client/search_application.py +13 -13
- elasticsearch/_async/client/searchable_snapshots.py +4 -4
- elasticsearch/_async/client/security.py +71 -71
- elasticsearch/_async/client/shutdown.py +3 -10
- elasticsearch/_async/client/simulate.py +6 -6
- elasticsearch/_async/client/slm.py +9 -9
- elasticsearch/_async/client/snapshot.py +13 -17
- elasticsearch/_async/client/sql.py +6 -6
- elasticsearch/_async/client/ssl.py +1 -1
- elasticsearch/_async/client/synonyms.py +7 -7
- elasticsearch/_async/client/tasks.py +3 -9
- elasticsearch/_async/client/text_structure.py +4 -4
- elasticsearch/_async/client/transform.py +30 -28
- elasticsearch/_async/client/watcher.py +22 -14
- elasticsearch/_async/client/xpack.py +2 -2
- elasticsearch/_async/helpers.py +0 -1
- elasticsearch/_sync/client/__init__.py +174 -79
- elasticsearch/_sync/client/_base.py +0 -1
- elasticsearch/_sync/client/async_search.py +12 -8
- elasticsearch/_sync/client/autoscaling.py +4 -4
- elasticsearch/_sync/client/cat.py +26 -26
- elasticsearch/_sync/client/ccr.py +186 -72
- elasticsearch/_sync/client/cluster.py +38 -19
- elasticsearch/_sync/client/connector.py +30 -30
- elasticsearch/_sync/client/dangling_indices.py +3 -3
- elasticsearch/_sync/client/enrich.py +26 -5
- elasticsearch/_sync/client/eql.py +32 -4
- elasticsearch/_sync/client/esql.py +62 -6
- elasticsearch/_sync/client/features.py +12 -2
- elasticsearch/_sync/client/fleet.py +8 -2
- elasticsearch/_sync/client/graph.py +1 -1
- elasticsearch/_sync/client/ilm.py +23 -22
- elasticsearch/_sync/client/indices.py +424 -132
- elasticsearch/_sync/client/inference.py +1906 -61
- elasticsearch/_sync/client/ingest.py +32 -38
- elasticsearch/_sync/client/license.py +51 -16
- elasticsearch/_sync/client/logstash.py +3 -3
- elasticsearch/_sync/client/migration.py +3 -3
- elasticsearch/_sync/client/ml.py +144 -115
- elasticsearch/_sync/client/monitoring.py +1 -1
- elasticsearch/_sync/client/nodes.py +9 -27
- elasticsearch/_sync/client/query_rules.py +8 -8
- elasticsearch/_sync/client/rollup.py +8 -8
- elasticsearch/_sync/client/search_application.py +13 -13
- elasticsearch/_sync/client/searchable_snapshots.py +4 -4
- elasticsearch/_sync/client/security.py +71 -71
- elasticsearch/_sync/client/shutdown.py +3 -10
- elasticsearch/_sync/client/simulate.py +6 -6
- elasticsearch/_sync/client/slm.py +9 -9
- elasticsearch/_sync/client/snapshot.py +13 -17
- elasticsearch/_sync/client/sql.py +6 -6
- elasticsearch/_sync/client/ssl.py +1 -1
- elasticsearch/_sync/client/synonyms.py +7 -7
- elasticsearch/_sync/client/tasks.py +3 -9
- elasticsearch/_sync/client/text_structure.py +4 -4
- elasticsearch/_sync/client/transform.py +30 -28
- elasticsearch/_sync/client/utils.py +0 -3
- elasticsearch/_sync/client/watcher.py +22 -14
- elasticsearch/_sync/client/xpack.py +2 -2
- elasticsearch/_version.py +1 -1
- elasticsearch/dsl/__init__.py +203 -0
- elasticsearch/dsl/_async/__init__.py +16 -0
- elasticsearch/dsl/_async/document.py +522 -0
- elasticsearch/dsl/_async/faceted_search.py +50 -0
- elasticsearch/dsl/_async/index.py +639 -0
- elasticsearch/dsl/_async/mapping.py +49 -0
- elasticsearch/dsl/_async/search.py +233 -0
- elasticsearch/dsl/_async/update_by_query.py +47 -0
- elasticsearch/dsl/_sync/__init__.py +16 -0
- elasticsearch/dsl/_sync/document.py +514 -0
- elasticsearch/dsl/_sync/faceted_search.py +50 -0
- elasticsearch/dsl/_sync/index.py +597 -0
- elasticsearch/dsl/_sync/mapping.py +49 -0
- elasticsearch/dsl/_sync/search.py +226 -0
- elasticsearch/dsl/_sync/update_by_query.py +45 -0
- elasticsearch/dsl/aggs.py +3730 -0
- elasticsearch/dsl/analysis.py +341 -0
- elasticsearch/dsl/async_connections.py +37 -0
- elasticsearch/dsl/connections.py +142 -0
- elasticsearch/dsl/document.py +20 -0
- elasticsearch/dsl/document_base.py +444 -0
- elasticsearch/dsl/exceptions.py +32 -0
- elasticsearch/dsl/faceted_search.py +28 -0
- elasticsearch/dsl/faceted_search_base.py +489 -0
- elasticsearch/dsl/field.py +4392 -0
- elasticsearch/dsl/function.py +180 -0
- elasticsearch/dsl/index.py +23 -0
- elasticsearch/dsl/index_base.py +178 -0
- elasticsearch/dsl/mapping.py +19 -0
- elasticsearch/dsl/mapping_base.py +219 -0
- elasticsearch/dsl/query.py +2822 -0
- elasticsearch/dsl/response/__init__.py +388 -0
- elasticsearch/dsl/response/aggs.py +100 -0
- elasticsearch/dsl/response/hit.py +53 -0
- elasticsearch/dsl/search.py +20 -0
- elasticsearch/dsl/search_base.py +1040 -0
- elasticsearch/dsl/serializer.py +34 -0
- elasticsearch/dsl/types.py +6509 -0
- elasticsearch/dsl/update_by_query.py +19 -0
- elasticsearch/dsl/update_by_query_base.py +149 -0
- elasticsearch/dsl/utils.py +687 -0
- elasticsearch/dsl/wrappers.py +119 -0
- {elasticsearch-8.17.2.dist-info → elasticsearch-8.18.1.dist-info}/METADATA +14 -2
- elasticsearch-8.18.1.dist-info/RECORD +163 -0
- elasticsearch-8.18.1.dist-info/licenses/LICENSE.txt +175 -0
- elasticsearch-8.18.1.dist-info/licenses/NOTICE.txt +559 -0
- elasticsearch-8.17.2.dist-info/RECORD +0 -119
- {elasticsearch-8.17.2.dist-info → elasticsearch-8.18.1.dist-info}/WHEEL +0 -0
- {elasticsearch-8.17.2.dist-info → elasticsearch-8.18.1.dist-info}/licenses/LICENSE +0 -0
- {elasticsearch-8.17.2.dist-info → elasticsearch-8.18.1.dist-info}/licenses/NOTICE +0 -0
|
@@ -48,7 +48,7 @@ class MonitoringClient(NamespacedClient):
|
|
|
48
48
|
This API is used by the monitoring features to send monitoring data.</p>
|
|
49
49
|
|
|
50
50
|
|
|
51
|
-
`<https://www.elastic.co/
|
|
51
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/v8>`_
|
|
52
52
|
|
|
53
53
|
:param interval: Collection interval (e.g., '10s' or '10000ms') of the payload
|
|
54
54
|
:param operations:
|
|
@@ -50,7 +50,7 @@ class NodesClient(NamespacedClient):
|
|
|
50
50
|
Clear the archived repositories metering information in the cluster.</p>
|
|
51
51
|
|
|
52
52
|
|
|
53
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
53
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/clear-repositories-metering-archive-api.html>`_
|
|
54
54
|
|
|
55
55
|
:param node_id: Comma-separated list of node IDs or names used to limit returned
|
|
56
56
|
information.
|
|
@@ -105,7 +105,7 @@ class NodesClient(NamespacedClient):
|
|
|
105
105
|
Additionally, the information exposed by this API is volatile, meaning that it will not be present after node restarts.</p>
|
|
106
106
|
|
|
107
107
|
|
|
108
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
108
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/get-repositories-metering-api.html>`_
|
|
109
109
|
|
|
110
110
|
:param node_id: Comma-separated list of node IDs or names used to limit returned
|
|
111
111
|
information. All the nodes selective options are explained [here](https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster.html#cluster-nodes).
|
|
@@ -143,7 +143,6 @@ class NodesClient(NamespacedClient):
|
|
|
143
143
|
human: t.Optional[bool] = None,
|
|
144
144
|
ignore_idle_threads: t.Optional[bool] = None,
|
|
145
145
|
interval: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
|
|
146
|
-
master_timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
|
|
147
146
|
pretty: t.Optional[bool] = None,
|
|
148
147
|
snapshots: t.Optional[int] = None,
|
|
149
148
|
sort: t.Optional[
|
|
@@ -163,15 +162,12 @@ class NodesClient(NamespacedClient):
|
|
|
163
162
|
The output is plain text with a breakdown of the top hot threads for each node.</p>
|
|
164
163
|
|
|
165
164
|
|
|
166
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
165
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/cluster-nodes-hot-threads.html>`_
|
|
167
166
|
|
|
168
167
|
:param node_id: List of node IDs or names used to limit returned information.
|
|
169
168
|
:param ignore_idle_threads: If true, known idle threads (e.g. waiting in a socket
|
|
170
169
|
select, or to get a task from an empty queue) are filtered out.
|
|
171
170
|
:param interval: The interval to do the second sampling of threads.
|
|
172
|
-
:param master_timeout: Period to wait for a connection to the master node. If
|
|
173
|
-
no response is received before the timeout expires, the request fails and
|
|
174
|
-
returns an error.
|
|
175
171
|
:param snapshots: Number of samples of thread stacktrace.
|
|
176
172
|
:param sort: The sort order for 'cpu' type (default: total)
|
|
177
173
|
:param threads: Specifies the number of hot threads to provide information for.
|
|
@@ -197,8 +193,6 @@ class NodesClient(NamespacedClient):
|
|
|
197
193
|
__query["ignore_idle_threads"] = ignore_idle_threads
|
|
198
194
|
if interval is not None:
|
|
199
195
|
__query["interval"] = interval
|
|
200
|
-
if master_timeout is not None:
|
|
201
|
-
__query["master_timeout"] = master_timeout
|
|
202
196
|
if pretty is not None:
|
|
203
197
|
__query["pretty"] = pretty
|
|
204
198
|
if snapshots is not None:
|
|
@@ -231,27 +225,23 @@ class NodesClient(NamespacedClient):
|
|
|
231
225
|
filter_path: t.Optional[t.Union[str, t.Sequence[str]]] = None,
|
|
232
226
|
flat_settings: t.Optional[bool] = None,
|
|
233
227
|
human: t.Optional[bool] = None,
|
|
234
|
-
master_timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
|
|
235
228
|
pretty: t.Optional[bool] = None,
|
|
236
229
|
timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
|
|
237
230
|
) -> ObjectApiResponse[t.Any]:
|
|
238
231
|
"""
|
|
239
232
|
.. raw:: html
|
|
240
233
|
|
|
241
|
-
<p>Get node information
|
|
242
|
-
By default, the API returns all attributes and core settings for cluster nodes.</p>
|
|
234
|
+
<p>Get node information.</p>
|
|
235
|
+
<p>By default, the API returns all attributes and core settings for cluster nodes.</p>
|
|
243
236
|
|
|
244
237
|
|
|
245
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
238
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/cluster-nodes-info.html>`_
|
|
246
239
|
|
|
247
240
|
:param node_id: Comma-separated list of node IDs or names used to limit returned
|
|
248
241
|
information.
|
|
249
242
|
:param metric: Limits the information returned to the specific metrics. Supports
|
|
250
243
|
a comma-separated list, such as http,ingest.
|
|
251
244
|
:param flat_settings: If true, returns settings in flat format.
|
|
252
|
-
:param master_timeout: Period to wait for a connection to the master node. If
|
|
253
|
-
no response is received before the timeout expires, the request fails and
|
|
254
|
-
returns an error.
|
|
255
245
|
:param timeout: Period to wait for a response. If no response is received before
|
|
256
246
|
the timeout expires, the request fails and returns an error.
|
|
257
247
|
"""
|
|
@@ -277,8 +267,6 @@ class NodesClient(NamespacedClient):
|
|
|
277
267
|
__query["flat_settings"] = flat_settings
|
|
278
268
|
if human is not None:
|
|
279
269
|
__query["human"] = human
|
|
280
|
-
if master_timeout is not None:
|
|
281
|
-
__query["master_timeout"] = master_timeout
|
|
282
270
|
if pretty is not None:
|
|
283
271
|
__query["pretty"] = pretty
|
|
284
272
|
if timeout is not None:
|
|
@@ -320,7 +308,7 @@ class NodesClient(NamespacedClient):
|
|
|
320
308
|
Alternatively, you can reload the secure settings on each node by locally accessing the API and passing the node-specific Elasticsearch keystore password.</p>
|
|
321
309
|
|
|
322
310
|
|
|
323
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
311
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/cluster-nodes-reload-secure-settings.html>`_
|
|
324
312
|
|
|
325
313
|
:param node_id: The names of particular nodes in the cluster to target.
|
|
326
314
|
:param secure_settings_password: The password for the Elasticsearch keystore.
|
|
@@ -383,7 +371,6 @@ class NodesClient(NamespacedClient):
|
|
|
383
371
|
level: t.Optional[
|
|
384
372
|
t.Union[str, t.Literal["cluster", "indices", "shards"]]
|
|
385
373
|
] = None,
|
|
386
|
-
master_timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
|
|
387
374
|
pretty: t.Optional[bool] = None,
|
|
388
375
|
timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
|
|
389
376
|
types: t.Optional[t.Sequence[str]] = None,
|
|
@@ -396,7 +383,7 @@ class NodesClient(NamespacedClient):
|
|
|
396
383
|
By default, all stats are returned. You can limit the returned information by using metrics.</p>
|
|
397
384
|
|
|
398
385
|
|
|
399
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
386
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/cluster-nodes-stats.html>`_
|
|
400
387
|
|
|
401
388
|
:param node_id: Comma-separated list of node IDs or names used to limit returned
|
|
402
389
|
information.
|
|
@@ -419,9 +406,6 @@ class NodesClient(NamespacedClient):
|
|
|
419
406
|
from segments that are not loaded into memory.
|
|
420
407
|
:param level: Indicates whether statistics are aggregated at the cluster, index,
|
|
421
408
|
or shard level.
|
|
422
|
-
:param master_timeout: Period to wait for a connection to the master node. If
|
|
423
|
-
no response is received before the timeout expires, the request fails and
|
|
424
|
-
returns an error.
|
|
425
409
|
:param timeout: Period to wait for a response. If no response is received before
|
|
426
410
|
the timeout expires, the request fails and returns an error.
|
|
427
411
|
:param types: A comma-separated list of document types for the indexing index
|
|
@@ -480,8 +464,6 @@ class NodesClient(NamespacedClient):
|
|
|
480
464
|
__query["include_unloaded_segments"] = include_unloaded_segments
|
|
481
465
|
if level is not None:
|
|
482
466
|
__query["level"] = level
|
|
483
|
-
if master_timeout is not None:
|
|
484
|
-
__query["master_timeout"] = master_timeout
|
|
485
467
|
if pretty is not None:
|
|
486
468
|
__query["pretty"] = pretty
|
|
487
469
|
if timeout is not None:
|
|
@@ -516,7 +498,7 @@ class NodesClient(NamespacedClient):
|
|
|
516
498
|
<p>Get feature usage information.</p>
|
|
517
499
|
|
|
518
500
|
|
|
519
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
501
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/cluster-nodes-usage.html>`_
|
|
520
502
|
|
|
521
503
|
:param node_id: A comma-separated list of node IDs or names to limit the returned
|
|
522
504
|
information; use `_local` to return information from the node you're connecting
|
|
@@ -44,7 +44,7 @@ class QueryRulesClient(NamespacedClient):
|
|
|
44
44
|
This is a destructive action that is only recoverable by re-adding the same rule with the create or update query rule API.</p>
|
|
45
45
|
|
|
46
46
|
|
|
47
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
47
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/delete-query-rule.html>`_
|
|
48
48
|
|
|
49
49
|
:param ruleset_id: The unique identifier of the query ruleset containing the
|
|
50
50
|
rule to delete
|
|
@@ -97,7 +97,7 @@ class QueryRulesClient(NamespacedClient):
|
|
|
97
97
|
This is a destructive action that is not recoverable.</p>
|
|
98
98
|
|
|
99
99
|
|
|
100
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
100
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/delete-query-ruleset.html>`_
|
|
101
101
|
|
|
102
102
|
:param ruleset_id: The unique identifier of the query ruleset to delete
|
|
103
103
|
"""
|
|
@@ -142,7 +142,7 @@ class QueryRulesClient(NamespacedClient):
|
|
|
142
142
|
Get details about a query rule within a query ruleset.</p>
|
|
143
143
|
|
|
144
144
|
|
|
145
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
145
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/get-query-rule.html>`_
|
|
146
146
|
|
|
147
147
|
:param ruleset_id: The unique identifier of the query ruleset containing the
|
|
148
148
|
rule to retrieve
|
|
@@ -194,7 +194,7 @@ class QueryRulesClient(NamespacedClient):
|
|
|
194
194
|
Get details about a query ruleset.</p>
|
|
195
195
|
|
|
196
196
|
|
|
197
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
197
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/get-query-ruleset.html>`_
|
|
198
198
|
|
|
199
199
|
:param ruleset_id: The unique identifier of the query ruleset
|
|
200
200
|
"""
|
|
@@ -241,7 +241,7 @@ class QueryRulesClient(NamespacedClient):
|
|
|
241
241
|
Get summarized information about the query rulesets.</p>
|
|
242
242
|
|
|
243
243
|
|
|
244
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
244
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/list-query-rulesets.html>`_
|
|
245
245
|
|
|
246
246
|
:param from_: The offset from the first result to fetch.
|
|
247
247
|
:param size: The maximum number of results to retrieve.
|
|
@@ -302,7 +302,7 @@ class QueryRulesClient(NamespacedClient):
|
|
|
302
302
|
If multiple matching rules pin more than 100 documents, only the first 100 documents are pinned in the order they are specified in the ruleset.</p>
|
|
303
303
|
|
|
304
304
|
|
|
305
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
305
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/put-query-rule.html>`_
|
|
306
306
|
|
|
307
307
|
:param ruleset_id: The unique identifier of the query ruleset containing the
|
|
308
308
|
rule to be created or updated.
|
|
@@ -389,7 +389,7 @@ class QueryRulesClient(NamespacedClient):
|
|
|
389
389
|
If multiple matching rules pin more than 100 documents, only the first 100 documents are pinned in the order they are specified in the ruleset.</p>
|
|
390
390
|
|
|
391
391
|
|
|
392
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
392
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/put-query-ruleset.html>`_
|
|
393
393
|
|
|
394
394
|
:param ruleset_id: The unique identifier of the query ruleset to be created or
|
|
395
395
|
updated.
|
|
@@ -446,7 +446,7 @@ class QueryRulesClient(NamespacedClient):
|
|
|
446
446
|
Evaluate match criteria against a query ruleset to identify the rules that would match that criteria.</p>
|
|
447
447
|
|
|
448
448
|
|
|
449
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
449
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/test-query-ruleset.html>`_
|
|
450
450
|
|
|
451
451
|
:param ruleset_id: The unique identifier of the query ruleset to be created or
|
|
452
452
|
updated
|
|
@@ -67,7 +67,7 @@ class RollupClient(NamespacedClient):
|
|
|
67
67
|
</code></pre>
|
|
68
68
|
|
|
69
69
|
|
|
70
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
70
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/rollup-delete-job.html>`_
|
|
71
71
|
|
|
72
72
|
:param id: Identifier for the job.
|
|
73
73
|
"""
|
|
@@ -115,7 +115,7 @@ class RollupClient(NamespacedClient):
|
|
|
115
115
|
For details about a historical rollup job, the rollup capabilities API may be more useful.</p>
|
|
116
116
|
|
|
117
117
|
|
|
118
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
118
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/rollup-get-job.html>`_
|
|
119
119
|
|
|
120
120
|
:param id: Identifier for the rollup job. If it is `_all` or omitted, the API
|
|
121
121
|
returns all rollup jobs.
|
|
@@ -171,7 +171,7 @@ class RollupClient(NamespacedClient):
|
|
|
171
171
|
</ol>
|
|
172
172
|
|
|
173
173
|
|
|
174
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
174
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/rollup-get-rollup-caps.html>`_
|
|
175
175
|
|
|
176
176
|
:param id: Index, indices or index-pattern to return rollup capabilities for.
|
|
177
177
|
`_all` may be used to fetch rollup capabilities from all jobs.
|
|
@@ -225,7 +225,7 @@ class RollupClient(NamespacedClient):
|
|
|
225
225
|
</ul>
|
|
226
226
|
|
|
227
227
|
|
|
228
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
228
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/rollup-get-rollup-index-caps.html>`_
|
|
229
229
|
|
|
230
230
|
:param index: Data stream or index to check for rollup capabilities. Wildcard
|
|
231
231
|
(`*`) expressions are supported.
|
|
@@ -295,7 +295,7 @@ class RollupClient(NamespacedClient):
|
|
|
295
295
|
<p>Jobs are created in a <code>STOPPED</code> state. You can start them with the start rollup jobs API.</p>
|
|
296
296
|
|
|
297
297
|
|
|
298
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
298
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/rollup-put-job.html>`_
|
|
299
299
|
|
|
300
300
|
:param id: Identifier for the rollup job. This can be any alphanumeric string
|
|
301
301
|
and uniquely identifies the data that is associated with the rollup job.
|
|
@@ -443,7 +443,7 @@ class RollupClient(NamespacedClient):
|
|
|
443
443
|
During the merging process, if there is any overlap in buckets between the two responses, the buckets from the non-rollup index are used.</p>
|
|
444
444
|
|
|
445
445
|
|
|
446
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
446
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/rollup-search.html>`_
|
|
447
447
|
|
|
448
448
|
:param index: A comma-separated list of data streams and indices used to limit
|
|
449
449
|
the request. This parameter has the following rules: * At least one data
|
|
@@ -521,7 +521,7 @@ class RollupClient(NamespacedClient):
|
|
|
521
521
|
If you try to start a job that is already started, nothing happens.</p>
|
|
522
522
|
|
|
523
523
|
|
|
524
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
524
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/rollup-start-job.html>`_
|
|
525
525
|
|
|
526
526
|
:param id: Identifier for the rollup job.
|
|
527
527
|
"""
|
|
@@ -575,7 +575,7 @@ class RollupClient(NamespacedClient):
|
|
|
575
575
|
If the specified time elapses without the job moving to STOPPED, a timeout exception occurs.</p>
|
|
576
576
|
|
|
577
577
|
|
|
578
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
578
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/rollup-stop-job.html>`_
|
|
579
579
|
|
|
580
580
|
:param id: Identifier for the rollup job.
|
|
581
581
|
:param timeout: If `wait_for_completion` is `true`, the API blocks for (at maximum)
|
|
@@ -45,13 +45,13 @@ class SearchApplicationClient(NamespacedClient):
|
|
|
45
45
|
"""
|
|
46
46
|
.. raw:: html
|
|
47
47
|
|
|
48
|
-
<p>Delete a search application
|
|
49
|
-
Remove a search application and its associated alias. Indices attached to the search application are not removed.</p>
|
|
48
|
+
<p>Delete a search application.</p>
|
|
49
|
+
<p>Remove a search application and its associated alias. Indices attached to the search application are not removed.</p>
|
|
50
50
|
|
|
51
51
|
|
|
52
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
52
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/delete-search-application.html>`_
|
|
53
53
|
|
|
54
|
-
:param name: The name of the search application to delete
|
|
54
|
+
:param name: The name of the search application to delete.
|
|
55
55
|
"""
|
|
56
56
|
if name in SKIP_IN_PATH:
|
|
57
57
|
raise ValueError("Empty value passed for parameter 'name'")
|
|
@@ -94,7 +94,7 @@ class SearchApplicationClient(NamespacedClient):
|
|
|
94
94
|
The associated data stream is also deleted.</p>
|
|
95
95
|
|
|
96
96
|
|
|
97
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
97
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/delete-analytics-collection.html>`_
|
|
98
98
|
|
|
99
99
|
:param name: The name of the analytics collection to be deleted
|
|
100
100
|
"""
|
|
@@ -138,7 +138,7 @@ class SearchApplicationClient(NamespacedClient):
|
|
|
138
138
|
<p>Get search application details.</p>
|
|
139
139
|
|
|
140
140
|
|
|
141
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
141
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/get-search-application.html>`_
|
|
142
142
|
|
|
143
143
|
:param name: The name of the search application
|
|
144
144
|
"""
|
|
@@ -182,7 +182,7 @@ class SearchApplicationClient(NamespacedClient):
|
|
|
182
182
|
<p>Get behavioral analytics collections.</p>
|
|
183
183
|
|
|
184
184
|
|
|
185
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
185
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/list-analytics-collection.html>`_
|
|
186
186
|
|
|
187
187
|
:param name: A list of analytics collections to limit the returned information
|
|
188
188
|
"""
|
|
@@ -234,7 +234,7 @@ class SearchApplicationClient(NamespacedClient):
|
|
|
234
234
|
Get information about search applications.</p>
|
|
235
235
|
|
|
236
236
|
|
|
237
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
237
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/list-analytics-collection.html>`_
|
|
238
238
|
|
|
239
239
|
:param from_: Starting offset.
|
|
240
240
|
:param q: Query in the Lucene query string syntax.
|
|
@@ -290,7 +290,7 @@ class SearchApplicationClient(NamespacedClient):
|
|
|
290
290
|
<p>Create a behavioral analytics collection event.</p>
|
|
291
291
|
|
|
292
292
|
|
|
293
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
293
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/post-analytics-collection-event.html>`_
|
|
294
294
|
|
|
295
295
|
:param collection_name: The name of the behavioral analytics collection.
|
|
296
296
|
:param event_type: The analytics event type.
|
|
@@ -357,7 +357,7 @@ class SearchApplicationClient(NamespacedClient):
|
|
|
357
357
|
<p>Create or update a search application.</p>
|
|
358
358
|
|
|
359
359
|
|
|
360
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
360
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/put-search-application.html>`_
|
|
361
361
|
|
|
362
362
|
:param name: The name of the search application to be created or updated.
|
|
363
363
|
:param search_application:
|
|
@@ -414,7 +414,7 @@ class SearchApplicationClient(NamespacedClient):
|
|
|
414
414
|
<p>Create a behavioral analytics collection.</p>
|
|
415
415
|
|
|
416
416
|
|
|
417
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
417
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/put-analytics-collection.html>`_
|
|
418
418
|
|
|
419
419
|
:param name: The name of the analytics collection to be created or updated.
|
|
420
420
|
"""
|
|
@@ -467,7 +467,7 @@ class SearchApplicationClient(NamespacedClient):
|
|
|
467
467
|
<p>You must have <code>read</code> privileges on the backing alias of the search application.</p>
|
|
468
468
|
|
|
469
469
|
|
|
470
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
470
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/search-application-render-query.html>`_
|
|
471
471
|
|
|
472
472
|
:param name: The name of the search application to render teh query for.
|
|
473
473
|
:param params:
|
|
@@ -531,7 +531,7 @@ class SearchApplicationClient(NamespacedClient):
|
|
|
531
531
|
Unspecified template parameters are assigned their default values if applicable.</p>
|
|
532
532
|
|
|
533
533
|
|
|
534
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
534
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/search-application-search.html>`_
|
|
535
535
|
|
|
536
536
|
:param name: The name of the search application to be searched.
|
|
537
537
|
:param params: Query parameters specific to this request, which will override
|
|
@@ -50,7 +50,7 @@ class SearchableSnapshotsClient(NamespacedClient):
|
|
|
50
50
|
Get statistics about the shared cache for partially mounted indices.</p>
|
|
51
51
|
|
|
52
52
|
|
|
53
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
53
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/searchable-snapshots-api-cache-stats.html>`_
|
|
54
54
|
|
|
55
55
|
:param node_id: The names of the nodes in the cluster to target.
|
|
56
56
|
:param master_timeout:
|
|
@@ -111,7 +111,7 @@ class SearchableSnapshotsClient(NamespacedClient):
|
|
|
111
111
|
Clear indices and data streams from the shared cache for partially mounted indices.</p>
|
|
112
112
|
|
|
113
113
|
|
|
114
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
114
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/searchable-snapshots-api-clear-cache.html>`_
|
|
115
115
|
|
|
116
116
|
:param index: A comma-separated list of data streams, indices, and aliases to
|
|
117
117
|
clear from the cache. It supports wildcards (`*`).
|
|
@@ -190,7 +190,7 @@ class SearchableSnapshotsClient(NamespacedClient):
|
|
|
190
190
|
Manually mounting ILM-managed snapshots can interfere with ILM processes.</p>
|
|
191
191
|
|
|
192
192
|
|
|
193
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
193
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/searchable-snapshots-api-mount-snapshot.html>`_
|
|
194
194
|
|
|
195
195
|
:param repository: The name of the repository containing the snapshot of the
|
|
196
196
|
index to mount.
|
|
@@ -278,7 +278,7 @@ class SearchableSnapshotsClient(NamespacedClient):
|
|
|
278
278
|
<p>Get searchable snapshot statistics.</p>
|
|
279
279
|
|
|
280
280
|
|
|
281
|
-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
281
|
+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.18/searchable-snapshots-api-stats.html>`_
|
|
282
282
|
|
|
283
283
|
:param index: A comma-separated list of data streams and indices to retrieve
|
|
284
284
|
statistics for.
|