elasticsearch 9.0.2__py3-none-any.whl → 9.1.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/__init__.py +3 -3
- elasticsearch/_async/client/__init__.py +88 -244
- elasticsearch/_async/client/async_search.py +4 -4
- elasticsearch/_async/client/autoscaling.py +4 -4
- elasticsearch/_async/client/cat.py +419 -51
- elasticsearch/_async/client/ccr.py +13 -13
- elasticsearch/_async/client/cluster.py +32 -22
- elasticsearch/_async/client/connector.py +30 -30
- elasticsearch/_async/client/dangling_indices.py +3 -3
- elasticsearch/_async/client/enrich.py +5 -5
- elasticsearch/_async/client/eql.py +14 -6
- elasticsearch/_async/client/esql.py +125 -9
- elasticsearch/_async/client/features.py +2 -2
- elasticsearch/_async/client/fleet.py +3 -3
- elasticsearch/_async/client/graph.py +1 -1
- elasticsearch/_async/client/ilm.py +11 -11
- elasticsearch/_async/client/indices.py +592 -113
- elasticsearch/_async/client/inference.py +521 -44
- elasticsearch/_async/client/ingest.py +9 -16
- elasticsearch/_async/client/license.py +11 -11
- elasticsearch/_async/client/logstash.py +3 -3
- elasticsearch/_async/client/migration.py +3 -3
- elasticsearch/_async/client/ml.py +75 -87
- elasticsearch/_async/client/monitoring.py +1 -1
- elasticsearch/_async/client/nodes.py +7 -7
- elasticsearch/_async/client/query_rules.py +8 -8
- elasticsearch/_async/client/rollup.py +9 -30
- elasticsearch/_async/client/search_application.py +10 -10
- elasticsearch/_async/client/searchable_snapshots.py +4 -4
- elasticsearch/_async/client/security.py +79 -81
- elasticsearch/_async/client/shutdown.py +3 -3
- elasticsearch/_async/client/simulate.py +1 -1
- elasticsearch/_async/client/slm.py +9 -9
- elasticsearch/_async/client/snapshot.py +64 -21
- elasticsearch/_async/client/sql.py +6 -6
- elasticsearch/_async/client/ssl.py +1 -1
- elasticsearch/_async/client/synonyms.py +26 -7
- elasticsearch/_async/client/tasks.py +4 -4
- elasticsearch/_async/client/text_structure.py +4 -4
- elasticsearch/_async/client/transform.py +11 -11
- elasticsearch/_async/client/watcher.py +17 -15
- elasticsearch/_async/client/xpack.py +2 -2
- elasticsearch/_otel.py +8 -8
- elasticsearch/_sync/client/__init__.py +88 -244
- elasticsearch/_sync/client/async_search.py +4 -4
- elasticsearch/_sync/client/autoscaling.py +4 -4
- elasticsearch/_sync/client/cat.py +419 -51
- elasticsearch/_sync/client/ccr.py +13 -13
- elasticsearch/_sync/client/cluster.py +32 -22
- elasticsearch/_sync/client/connector.py +30 -30
- elasticsearch/_sync/client/dangling_indices.py +3 -3
- elasticsearch/_sync/client/enrich.py +5 -5
- elasticsearch/_sync/client/eql.py +14 -6
- elasticsearch/_sync/client/esql.py +125 -9
- elasticsearch/_sync/client/features.py +2 -2
- elasticsearch/_sync/client/fleet.py +3 -3
- elasticsearch/_sync/client/graph.py +1 -1
- elasticsearch/_sync/client/ilm.py +11 -11
- elasticsearch/_sync/client/indices.py +592 -113
- elasticsearch/_sync/client/inference.py +521 -44
- elasticsearch/_sync/client/ingest.py +9 -16
- elasticsearch/_sync/client/license.py +11 -11
- elasticsearch/_sync/client/logstash.py +3 -3
- elasticsearch/_sync/client/migration.py +3 -3
- elasticsearch/_sync/client/ml.py +75 -87
- elasticsearch/_sync/client/monitoring.py +1 -1
- elasticsearch/_sync/client/nodes.py +7 -7
- elasticsearch/_sync/client/query_rules.py +8 -8
- elasticsearch/_sync/client/rollup.py +9 -30
- elasticsearch/_sync/client/search_application.py +10 -10
- elasticsearch/_sync/client/searchable_snapshots.py +4 -4
- elasticsearch/_sync/client/security.py +79 -81
- elasticsearch/_sync/client/shutdown.py +3 -3
- elasticsearch/_sync/client/simulate.py +1 -1
- elasticsearch/_sync/client/slm.py +9 -9
- elasticsearch/_sync/client/snapshot.py +64 -21
- elasticsearch/_sync/client/sql.py +6 -6
- elasticsearch/_sync/client/ssl.py +1 -1
- elasticsearch/_sync/client/synonyms.py +26 -7
- elasticsearch/_sync/client/tasks.py +4 -4
- elasticsearch/_sync/client/text_structure.py +4 -4
- elasticsearch/_sync/client/transform.py +11 -11
- elasticsearch/_sync/client/watcher.py +17 -15
- elasticsearch/_sync/client/xpack.py +2 -2
- elasticsearch/_version.py +1 -1
- elasticsearch/compat.py +5 -0
- elasticsearch/dsl/__init__.py +2 -1
- elasticsearch/dsl/aggs.py +20 -0
- elasticsearch/dsl/document_base.py +177 -17
- elasticsearch/dsl/field.py +230 -37
- elasticsearch/dsl/query.py +6 -3
- elasticsearch/dsl/response/__init__.py +1 -1
- elasticsearch/dsl/types.py +169 -11
- elasticsearch/dsl/utils.py +1 -1
- elasticsearch/{dsl/_sync/_sync_check → esql}/__init__.py +2 -0
- elasticsearch/esql/esql.py +1105 -0
- elasticsearch/esql/esql1.py1 +307 -0
- elasticsearch/esql/functions.py +1738 -0
- {elasticsearch-9.0.2.dist-info → elasticsearch-9.1.0.dist-info}/METADATA +3 -4
- elasticsearch-9.1.0.dist-info/RECORD +164 -0
- elasticsearch/dsl/_sync/_sync_check/document.py +0 -514
- elasticsearch/dsl/_sync/_sync_check/faceted_search.py +0 -50
- elasticsearch/dsl/_sync/_sync_check/index.py +0 -597
- elasticsearch/dsl/_sync/_sync_check/mapping.py +0 -49
- elasticsearch/dsl/_sync/_sync_check/search.py +0 -230
- elasticsearch/dsl/_sync/_sync_check/update_by_query.py +0 -45
- elasticsearch-9.0.2.dist-info/RECORD +0 -167
- {elasticsearch-9.0.2.dist-info → elasticsearch-9.1.0.dist-info}/WHEEL +0 -0
- {elasticsearch-9.0.2.dist-info → elasticsearch-9.1.0.dist-info}/licenses/LICENSE +0 -0
- {elasticsearch-9.0.2.dist-info → elasticsearch-9.1.0.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/docs/api/doc/elasticsearch
|
|
51
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch>`_
|
|
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/docs/api/doc/elasticsearch/
|
|
53
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-nodes-clear-repositories-metering-archive>`_
|
|
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/docs/api/doc/elasticsearch/
|
|
108
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-nodes-get-repositories-metering-info>`_
|
|
109
109
|
|
|
110
110
|
:param node_id: Comma-separated list of node IDs or names used to limit returned
|
|
111
111
|
information.
|
|
@@ -162,7 +162,7 @@ class NodesClient(NamespacedClient):
|
|
|
162
162
|
The output is plain text with a breakdown of the top hot threads for each node.</p>
|
|
163
163
|
|
|
164
164
|
|
|
165
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
165
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-nodes-hot-threads>`_
|
|
166
166
|
|
|
167
167
|
:param node_id: List of node IDs or names used to limit returned information.
|
|
168
168
|
:param ignore_idle_threads: If true, known idle threads (e.g. waiting in a socket
|
|
@@ -235,7 +235,7 @@ class NodesClient(NamespacedClient):
|
|
|
235
235
|
<p>By default, the API returns all attributes and core settings for cluster nodes.</p>
|
|
236
236
|
|
|
237
237
|
|
|
238
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
238
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-nodes-info>`_
|
|
239
239
|
|
|
240
240
|
:param node_id: Comma-separated list of node IDs or names used to limit returned
|
|
241
241
|
information.
|
|
@@ -308,7 +308,7 @@ class NodesClient(NamespacedClient):
|
|
|
308
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>
|
|
309
309
|
|
|
310
310
|
|
|
311
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
311
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-nodes-reload-secure-settings>`_
|
|
312
312
|
|
|
313
313
|
:param node_id: The names of particular nodes in the cluster to target.
|
|
314
314
|
:param secure_settings_password: The password for the Elasticsearch keystore.
|
|
@@ -383,7 +383,7 @@ class NodesClient(NamespacedClient):
|
|
|
383
383
|
By default, all stats are returned. You can limit the returned information by using metrics.</p>
|
|
384
384
|
|
|
385
385
|
|
|
386
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
386
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-nodes-stats>`_
|
|
387
387
|
|
|
388
388
|
:param node_id: Comma-separated list of node IDs or names used to limit returned
|
|
389
389
|
information.
|
|
@@ -498,7 +498,7 @@ class NodesClient(NamespacedClient):
|
|
|
498
498
|
<p>Get feature usage information.</p>
|
|
499
499
|
|
|
500
500
|
|
|
501
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
501
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-nodes-usage>`_
|
|
502
502
|
|
|
503
503
|
:param node_id: A comma-separated list of node IDs or names to limit the returned
|
|
504
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/docs/api/doc/elasticsearch/
|
|
47
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-query-rules-delete-rule>`_
|
|
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/docs/api/doc/elasticsearch/
|
|
100
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-query-rules-delete-ruleset>`_
|
|
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/docs/api/doc/elasticsearch/
|
|
145
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-query-rules-get-rule>`_
|
|
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/docs/api/doc/elasticsearch/
|
|
197
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-query-rules-get-ruleset>`_
|
|
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/docs/api/doc/elasticsearch/
|
|
244
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-query-rules-list-rulesets>`_
|
|
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/docs/api/doc/elasticsearch/
|
|
305
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-query-rules-put-rule>`_
|
|
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/docs/api/doc/elasticsearch/
|
|
392
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-query-rules-put-ruleset>`_
|
|
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/docs/api/doc/elasticsearch/
|
|
449
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-query-rules-test>`_
|
|
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/docs/api/doc/elasticsearch/
|
|
70
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-rollup-delete-job>`_
|
|
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/docs/api/doc/elasticsearch/
|
|
118
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-rollup-get-jobs>`_
|
|
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/docs/api/doc/elasticsearch/
|
|
174
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-rollup-get-rollup-caps>`_
|
|
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/docs/api/doc/elasticsearch/
|
|
228
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-rollup-get-rollup-index-caps>`_
|
|
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/docs/api/doc/elasticsearch/
|
|
298
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-rollup-put-job>`_
|
|
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.
|
|
@@ -419,31 +419,10 @@ class RollupClient(NamespacedClient):
|
|
|
419
419
|
The following functionality is not available:</p>
|
|
420
420
|
<p><code>size</code>: Because rollups work on pre-aggregated data, no search hits can be returned and so size must be set to zero or omitted entirely.
|
|
421
421
|
<code>highlighter</code>, <code>suggestors</code>, <code>post_filter</code>, <code>profile</code>, <code>explain</code>: These are similarly disallowed.</p>
|
|
422
|
-
<p
|
|
423
|
-
<p>The rollup search API has the capability to search across both "live" non-rollup data and the aggregated rollup data.
|
|
424
|
-
This is done by simply adding the live indices to the URI. For example:</p>
|
|
425
|
-
<pre><code>GET sensor-1,sensor_rollup/_rollup_search
|
|
426
|
-
{
|
|
427
|
-
"size": 0,
|
|
428
|
-
"aggregations": {
|
|
429
|
-
"max_temperature": {
|
|
430
|
-
"max": {
|
|
431
|
-
"field": "temperature"
|
|
432
|
-
}
|
|
433
|
-
}
|
|
434
|
-
}
|
|
435
|
-
}
|
|
436
|
-
</code></pre>
|
|
437
|
-
<p>The rollup search endpoint does two things when the search runs:</p>
|
|
438
|
-
<ul>
|
|
439
|
-
<li>The original request is sent to the non-rollup index unaltered.</li>
|
|
440
|
-
<li>A rewritten version of the original request is sent to the rollup index.</li>
|
|
441
|
-
</ul>
|
|
442
|
-
<p>When the two responses are received, the endpoint rewrites the rollup response and merges the two together.
|
|
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>
|
|
422
|
+
<p>For more detailed examples of using the rollup search API, including querying rolled-up data only or combining rolled-up and live data, refer to the External documentation.</p>
|
|
444
423
|
|
|
445
424
|
|
|
446
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
425
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-rollup-rollup-search>`_
|
|
447
426
|
|
|
448
427
|
:param index: A comma-separated list of data streams and indices used to limit
|
|
449
428
|
the request. This parameter has the following rules: * At least one data
|
|
@@ -521,7 +500,7 @@ class RollupClient(NamespacedClient):
|
|
|
521
500
|
If you try to start a job that is already started, nothing happens.</p>
|
|
522
501
|
|
|
523
502
|
|
|
524
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
503
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-rollup-start-job>`_
|
|
525
504
|
|
|
526
505
|
:param id: Identifier for the rollup job.
|
|
527
506
|
"""
|
|
@@ -575,7 +554,7 @@ class RollupClient(NamespacedClient):
|
|
|
575
554
|
If the specified time elapses without the job moving to STOPPED, a timeout exception occurs.</p>
|
|
576
555
|
|
|
577
556
|
|
|
578
|
-
`<https://www.elastic.co/docs/api/doc/elasticsearch/
|
|
557
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-rollup-stop-job>`_
|
|
579
558
|
|
|
580
559
|
:param id: Identifier for the rollup job.
|
|
581
560
|
:param timeout: If `wait_for_completion` is `true`, the API blocks for (at maximum)
|
|
@@ -49,7 +49,7 @@ class SearchApplicationClient(NamespacedClient):
|
|
|
49
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/docs/api/doc/elasticsearch/
|
|
52
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-search-application-delete>`_
|
|
53
53
|
|
|
54
54
|
:param name: The name of the search application to delete.
|
|
55
55
|
"""
|
|
@@ -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/docs/api/doc/elasticsearch/
|
|
97
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-search-application-delete-behavioral-analytics>`_
|
|
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/docs/api/doc/elasticsearch/
|
|
141
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-search-application-get>`_
|
|
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/docs/api/doc/elasticsearch/
|
|
185
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-search-application-get-behavioral-analytics>`_
|
|
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/docs/api/doc/elasticsearch/
|
|
237
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-search-application-get-behavioral-analytics>`_
|
|
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/docs/api/doc/elasticsearch/
|
|
293
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-search-application-post-behavioral-analytics-event>`_
|
|
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/docs/api/doc/elasticsearch/
|
|
360
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-search-application-put>`_
|
|
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/docs/api/doc/elasticsearch/
|
|
417
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-search-application-put-behavioral-analytics>`_
|
|
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/docs/api/doc/elasticsearch/
|
|
470
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-search-application-render-query>`_
|
|
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/docs/api/doc/elasticsearch/
|
|
534
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-search-application-search>`_
|
|
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/docs/api/doc/elasticsearch/
|
|
53
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-searchable-snapshots-cache-stats>`_
|
|
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/docs/api/doc/elasticsearch/
|
|
114
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-searchable-snapshots-clear-cache>`_
|
|
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/docs/api/doc/elasticsearch/
|
|
193
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-searchable-snapshots-mount>`_
|
|
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/docs/api/doc/elasticsearch/
|
|
281
|
+
`<https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-searchable-snapshots-stats>`_
|
|
282
282
|
|
|
283
283
|
:param index: A comma-separated list of data streams and indices to retrieve
|
|
284
284
|
statistics for.
|