elasticsearch 8.17.1__py3-none-any.whl → 8.17.2__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/__init__.py +2 -2
- elasticsearch/_async/client/__init__.py +1971 -779
- elasticsearch/_async/client/async_search.py +33 -22
- elasticsearch/_async/client/autoscaling.py +27 -21
- elasticsearch/_async/client/cat.py +216 -141
- elasticsearch/_async/client/ccr.py +96 -70
- elasticsearch/_async/client/cluster.py +150 -142
- elasticsearch/_async/client/connector.py +182 -86
- elasticsearch/_async/client/dangling_indices.py +19 -13
- elasticsearch/_async/client/enrich.py +25 -6
- elasticsearch/_async/client/eql.py +22 -9
- elasticsearch/_async/client/esql.py +295 -3
- elasticsearch/_async/client/features.py +25 -25
- elasticsearch/_async/client/fleet.py +15 -9
- elasticsearch/_async/client/graph.py +9 -8
- elasticsearch/_async/client/ilm.py +85 -55
- elasticsearch/_async/client/indices.py +692 -549
- elasticsearch/_async/client/inference.py +32 -28
- elasticsearch/_async/client/ingest.py +61 -22
- elasticsearch/_async/client/license.py +48 -31
- elasticsearch/_async/client/logstash.py +17 -6
- elasticsearch/_async/client/migration.py +23 -14
- elasticsearch/_async/client/ml.py +532 -284
- elasticsearch/_async/client/monitoring.py +5 -2
- elasticsearch/_async/client/nodes.py +43 -27
- elasticsearch/_async/client/query_rules.py +51 -25
- elasticsearch/_async/client/rollup.py +111 -73
- elasticsearch/_async/client/search_application.py +49 -21
- elasticsearch/_async/client/searchable_snapshots.py +21 -8
- elasticsearch/_async/client/security.py +810 -472
- elasticsearch/_async/client/shutdown.py +31 -26
- elasticsearch/_async/client/simulate.py +16 -22
- elasticsearch/_async/client/slm.py +55 -30
- elasticsearch/_async/client/snapshot.py +173 -192
- elasticsearch/_async/client/sql.py +37 -16
- elasticsearch/_async/client/ssl.py +16 -17
- elasticsearch/_async/client/synonyms.py +50 -29
- elasticsearch/_async/client/tasks.py +74 -39
- elasticsearch/_async/client/text_structure.py +61 -52
- elasticsearch/_async/client/transform.py +108 -79
- elasticsearch/_async/client/watcher.py +93 -57
- elasticsearch/_async/client/xpack.py +16 -7
- elasticsearch/_async/helpers.py +1 -1
- elasticsearch/_sync/client/__init__.py +1971 -779
- elasticsearch/_sync/client/async_search.py +33 -22
- elasticsearch/_sync/client/autoscaling.py +27 -21
- elasticsearch/_sync/client/cat.py +216 -141
- elasticsearch/_sync/client/ccr.py +96 -70
- elasticsearch/_sync/client/cluster.py +150 -142
- elasticsearch/_sync/client/connector.py +182 -86
- elasticsearch/_sync/client/dangling_indices.py +19 -13
- elasticsearch/_sync/client/enrich.py +25 -6
- elasticsearch/_sync/client/eql.py +22 -9
- elasticsearch/_sync/client/esql.py +295 -3
- elasticsearch/_sync/client/features.py +25 -25
- elasticsearch/_sync/client/fleet.py +15 -9
- elasticsearch/_sync/client/graph.py +9 -8
- elasticsearch/_sync/client/ilm.py +85 -55
- elasticsearch/_sync/client/indices.py +692 -549
- elasticsearch/_sync/client/inference.py +32 -28
- elasticsearch/_sync/client/ingest.py +61 -22
- elasticsearch/_sync/client/license.py +48 -31
- elasticsearch/_sync/client/logstash.py +17 -6
- elasticsearch/_sync/client/migration.py +23 -14
- elasticsearch/_sync/client/ml.py +532 -284
- elasticsearch/_sync/client/monitoring.py +5 -2
- elasticsearch/_sync/client/nodes.py +43 -27
- elasticsearch/_sync/client/query_rules.py +51 -25
- elasticsearch/_sync/client/rollup.py +111 -73
- elasticsearch/_sync/client/search_application.py +49 -21
- elasticsearch/_sync/client/searchable_snapshots.py +21 -8
- elasticsearch/_sync/client/security.py +810 -472
- elasticsearch/_sync/client/shutdown.py +31 -26
- elasticsearch/_sync/client/simulate.py +16 -22
- elasticsearch/_sync/client/slm.py +55 -30
- elasticsearch/_sync/client/snapshot.py +173 -192
- elasticsearch/_sync/client/sql.py +37 -16
- elasticsearch/_sync/client/ssl.py +16 -17
- elasticsearch/_sync/client/synonyms.py +50 -29
- elasticsearch/_sync/client/tasks.py +74 -39
- elasticsearch/_sync/client/text_structure.py +61 -52
- elasticsearch/_sync/client/transform.py +108 -79
- elasticsearch/_sync/client/utils.py +1 -1
- elasticsearch/_sync/client/watcher.py +93 -57
- elasticsearch/_sync/client/xpack.py +16 -7
- elasticsearch/_version.py +1 -1
- elasticsearch/client.py +2 -0
- elasticsearch/helpers/actions.py +1 -1
- elasticsearch/helpers/vectorstore/_sync/vectorstore.py +4 -1
- {elasticsearch-8.17.1.dist-info → elasticsearch-8.17.2.dist-info}/METADATA +1 -1
- elasticsearch-8.17.2.dist-info/RECORD +119 -0
- elasticsearch-8.17.1.dist-info/RECORD +0 -119
- {elasticsearch-8.17.1.dist-info → elasticsearch-8.17.2.dist-info}/WHEEL +0 -0
- {elasticsearch-8.17.1.dist-info → elasticsearch-8.17.2.dist-info}/licenses/LICENSE +0 -0
- {elasticsearch-8.17.1.dist-info → elasticsearch-8.17.2.dist-info}/licenses/NOTICE +0 -0
|
@@ -43,8 +43,11 @@ class SearchApplicationClient(NamespacedClient):
|
|
|
43
43
|
pretty: t.Optional[bool] = None,
|
|
44
44
|
) -> ObjectApiResponse[t.Any]:
|
|
45
45
|
"""
|
|
46
|
-
|
|
47
|
-
|
|
46
|
+
.. raw:: html
|
|
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>
|
|
50
|
+
|
|
48
51
|
|
|
49
52
|
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/delete-search-application.html>`_
|
|
50
53
|
|
|
@@ -85,8 +88,11 @@ class SearchApplicationClient(NamespacedClient):
|
|
|
85
88
|
pretty: t.Optional[bool] = None,
|
|
86
89
|
) -> ObjectApiResponse[t.Any]:
|
|
87
90
|
"""
|
|
88
|
-
|
|
89
|
-
|
|
91
|
+
.. raw:: html
|
|
92
|
+
|
|
93
|
+
<p>Delete a behavioral analytics collection.
|
|
94
|
+
The associated data stream is also deleted.</p>
|
|
95
|
+
|
|
90
96
|
|
|
91
97
|
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/delete-analytics-collection.html>`_
|
|
92
98
|
|
|
@@ -127,7 +133,10 @@ class SearchApplicationClient(NamespacedClient):
|
|
|
127
133
|
pretty: t.Optional[bool] = None,
|
|
128
134
|
) -> ObjectApiResponse[t.Any]:
|
|
129
135
|
"""
|
|
130
|
-
|
|
136
|
+
.. raw:: html
|
|
137
|
+
|
|
138
|
+
<p>Get search application details.</p>
|
|
139
|
+
|
|
131
140
|
|
|
132
141
|
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/get-search-application.html>`_
|
|
133
142
|
|
|
@@ -168,7 +177,10 @@ class SearchApplicationClient(NamespacedClient):
|
|
|
168
177
|
pretty: t.Optional[bool] = None,
|
|
169
178
|
) -> ObjectApiResponse[t.Any]:
|
|
170
179
|
"""
|
|
171
|
-
|
|
180
|
+
.. raw:: html
|
|
181
|
+
|
|
182
|
+
<p>Get behavioral analytics collections.</p>
|
|
183
|
+
|
|
172
184
|
|
|
173
185
|
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/list-analytics-collection.html>`_
|
|
174
186
|
|
|
@@ -216,7 +228,11 @@ class SearchApplicationClient(NamespacedClient):
|
|
|
216
228
|
size: t.Optional[int] = None,
|
|
217
229
|
) -> ObjectApiResponse[t.Any]:
|
|
218
230
|
"""
|
|
219
|
-
|
|
231
|
+
.. raw:: html
|
|
232
|
+
|
|
233
|
+
<p>Get search applications.
|
|
234
|
+
Get information about search applications.</p>
|
|
235
|
+
|
|
220
236
|
|
|
221
237
|
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/list-search-applications.html>`_
|
|
222
238
|
|
|
@@ -269,7 +285,10 @@ class SearchApplicationClient(NamespacedClient):
|
|
|
269
285
|
pretty: t.Optional[bool] = None,
|
|
270
286
|
) -> ObjectApiResponse[t.Any]:
|
|
271
287
|
"""
|
|
272
|
-
|
|
288
|
+
.. raw:: html
|
|
289
|
+
|
|
290
|
+
<p>Create a behavioral analytics collection event.</p>
|
|
291
|
+
|
|
273
292
|
|
|
274
293
|
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/post-analytics-collection-event.html>`_
|
|
275
294
|
|
|
@@ -333,7 +352,10 @@ class SearchApplicationClient(NamespacedClient):
|
|
|
333
352
|
pretty: t.Optional[bool] = None,
|
|
334
353
|
) -> ObjectApiResponse[t.Any]:
|
|
335
354
|
"""
|
|
336
|
-
|
|
355
|
+
.. raw:: html
|
|
356
|
+
|
|
357
|
+
<p>Create or update a search application.</p>
|
|
358
|
+
|
|
337
359
|
|
|
338
360
|
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/put-search-application.html>`_
|
|
339
361
|
|
|
@@ -387,7 +409,10 @@ class SearchApplicationClient(NamespacedClient):
|
|
|
387
409
|
pretty: t.Optional[bool] = None,
|
|
388
410
|
) -> ObjectApiResponse[t.Any]:
|
|
389
411
|
"""
|
|
390
|
-
|
|
412
|
+
.. raw:: html
|
|
413
|
+
|
|
414
|
+
<p>Create a behavioral analytics collection.</p>
|
|
415
|
+
|
|
391
416
|
|
|
392
417
|
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/put-analytics-collection.html>`_
|
|
393
418
|
|
|
@@ -433,13 +458,14 @@ class SearchApplicationClient(NamespacedClient):
|
|
|
433
458
|
body: t.Optional[t.Dict[str, t.Any]] = None,
|
|
434
459
|
) -> ObjectApiResponse[t.Any]:
|
|
435
460
|
"""
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
461
|
+
.. raw:: html
|
|
462
|
+
|
|
463
|
+
<p>Render a search application query.
|
|
464
|
+
Generate an Elasticsearch query using the specified query parameters and the search template associated with the search application or a default template if none is specified.
|
|
465
|
+
If a parameter used in the search template is not specified in <code>params</code>, the parameter's default value will be used.
|
|
466
|
+
The API returns the specific Elasticsearch query that would be generated and run by calling the search application search API.</p>
|
|
467
|
+
<p>You must have <code>read</code> privileges on the backing alias of the search application.</p>
|
|
468
|
+
|
|
443
469
|
|
|
444
470
|
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/search-application-render-query.html>`_
|
|
445
471
|
|
|
@@ -498,10 +524,12 @@ class SearchApplicationClient(NamespacedClient):
|
|
|
498
524
|
body: t.Optional[t.Dict[str, t.Any]] = None,
|
|
499
525
|
) -> ObjectApiResponse[t.Any]:
|
|
500
526
|
"""
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
527
|
+
.. raw:: html
|
|
528
|
+
|
|
529
|
+
<p>Run a search application search.
|
|
530
|
+
Generate and run an Elasticsearch query that uses the specified query parameteter and the search template associated with the search application or default template.
|
|
531
|
+
Unspecified template parameters are assigned their default values if applicable.</p>
|
|
532
|
+
|
|
505
533
|
|
|
506
534
|
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/search-application-search.html>`_
|
|
507
535
|
|
|
@@ -44,8 +44,11 @@ class SearchableSnapshotsClient(NamespacedClient):
|
|
|
44
44
|
pretty: t.Optional[bool] = None,
|
|
45
45
|
) -> ObjectApiResponse[t.Any]:
|
|
46
46
|
"""
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
.. raw:: html
|
|
48
|
+
|
|
49
|
+
<p>Get cache statistics.
|
|
50
|
+
Get statistics about the shared cache for partially mounted indices.</p>
|
|
51
|
+
|
|
49
52
|
|
|
50
53
|
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/searchable-snapshots-api-cache-stats.html>`_
|
|
51
54
|
|
|
@@ -102,8 +105,11 @@ class SearchableSnapshotsClient(NamespacedClient):
|
|
|
102
105
|
pretty: t.Optional[bool] = None,
|
|
103
106
|
) -> ObjectApiResponse[t.Any]:
|
|
104
107
|
"""
|
|
105
|
-
|
|
106
|
-
|
|
108
|
+
.. raw:: html
|
|
109
|
+
|
|
110
|
+
<p>Clear the cache.
|
|
111
|
+
Clear indices and data streams from the shared cache for partially mounted indices.</p>
|
|
112
|
+
|
|
107
113
|
|
|
108
114
|
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/searchable-snapshots-api-clear-cache.html>`_
|
|
109
115
|
|
|
@@ -176,9 +182,13 @@ class SearchableSnapshotsClient(NamespacedClient):
|
|
|
176
182
|
body: t.Optional[t.Dict[str, t.Any]] = None,
|
|
177
183
|
) -> ObjectApiResponse[t.Any]:
|
|
178
184
|
"""
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
185
|
+
.. raw:: html
|
|
186
|
+
|
|
187
|
+
<p>Mount a snapshot.
|
|
188
|
+
Mount a snapshot as a searchable snapshot index.
|
|
189
|
+
Do not use this API for snapshots managed by index lifecycle management (ILM).
|
|
190
|
+
Manually mounting ILM-managed snapshots can interfere with ILM processes.</p>
|
|
191
|
+
|
|
182
192
|
|
|
183
193
|
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/searchable-snapshots-api-mount-snapshot.html>`_
|
|
184
194
|
|
|
@@ -263,7 +273,10 @@ class SearchableSnapshotsClient(NamespacedClient):
|
|
|
263
273
|
pretty: t.Optional[bool] = None,
|
|
264
274
|
) -> ObjectApiResponse[t.Any]:
|
|
265
275
|
"""
|
|
266
|
-
|
|
276
|
+
.. raw:: html
|
|
277
|
+
|
|
278
|
+
<p>Get searchable snapshot statistics.</p>
|
|
279
|
+
|
|
267
280
|
|
|
268
281
|
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.17/searchable-snapshots-api-stats.html>`_
|
|
269
282
|
|