elasticsearch 8.19.0__tar.gz → 8.19.2__tar.gz
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-8.19.0 → elasticsearch-8.19.2}/PKG-INFO +2 -4
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/docs/sphinx/api/indices.rst +1 -1
- elasticsearch-8.19.2/docs/sphinx/api/streams.rst +9 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/docs/sphinx/api.rst +1 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_async/client/__init__.py +39 -55
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_async/client/cat.py +605 -35
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_async/client/cluster.py +7 -2
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_async/client/connector.py +3 -3
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_async/client/esql.py +16 -6
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_async/client/fleet.py +1 -5
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_async/client/graph.py +1 -5
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_async/client/ilm.py +2 -10
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_async/client/indices.py +159 -32
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_async/client/inference.py +142 -120
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_async/client/nodes.py +2 -2
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_async/client/shutdown.py +5 -15
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_async/client/slm.py +1 -5
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_async/client/snapshot.py +262 -112
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_async/client/sql.py +1 -1
- elasticsearch-8.19.2/elasticsearch/_async/client/streams.py +185 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_async/client/transform.py +60 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_async/client/watcher.py +1 -5
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_async/helpers.py +58 -9
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_sync/client/__init__.py +39 -55
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_sync/client/cat.py +605 -35
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_sync/client/cluster.py +7 -2
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_sync/client/connector.py +3 -3
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_sync/client/esql.py +16 -6
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_sync/client/fleet.py +1 -5
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_sync/client/graph.py +1 -5
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_sync/client/ilm.py +2 -10
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_sync/client/indices.py +159 -32
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_sync/client/inference.py +142 -120
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_sync/client/nodes.py +2 -2
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_sync/client/shutdown.py +5 -15
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_sync/client/slm.py +1 -5
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_sync/client/snapshot.py +262 -112
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_sync/client/sql.py +1 -1
- elasticsearch-8.19.2/elasticsearch/_sync/client/streams.py +185 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_sync/client/transform.py +60 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_sync/client/watcher.py +1 -5
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_version.py +2 -1
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/client.py +2 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/compat.py +45 -1
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/dsl/__init__.py +28 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/dsl/_async/document.py +84 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/dsl/_sync/document.py +84 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/dsl/aggs.py +117 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/dsl/document_base.py +59 -1
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/dsl/field.py +60 -10
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/dsl/query.py +1 -1
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/dsl/response/__init__.py +3 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/dsl/response/aggs.py +1 -1
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/dsl/types.py +325 -20
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/dsl/utils.py +1 -1
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/esql/__init__.py +2 -1
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/esql/esql.py +85 -34
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/esql/functions.py +37 -25
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/helpers/__init__.py +10 -1
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/helpers/actions.py +106 -33
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/pyproject.toml +2 -4
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/.gitignore +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/CHANGELOG.md +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/CONTRIBUTING.md +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/LICENSE +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/NOTICE +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/README.md +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/docs/sphinx/Makefile +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/docs/sphinx/_static/css/custom.css +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/docs/sphinx/api/async-search.rst +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/docs/sphinx/api/autoscaling.rst +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/docs/sphinx/api/cat.rst +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/docs/sphinx/api/ccr.rst +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/docs/sphinx/api/cluster.rst +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/docs/sphinx/api/connector.rst +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/docs/sphinx/api/dangling-indices.rst +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/docs/sphinx/api/elasticsearch.rst +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/docs/sphinx/api/enrich-policies.rst +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/docs/sphinx/api/eql.rst +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/docs/sphinx/api/esql.rst +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/docs/sphinx/api/fleet.rst +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/docs/sphinx/api/graph-explore.rst +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/docs/sphinx/api/index-lifecycle-management.rst +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/docs/sphinx/api/inference.rst +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/docs/sphinx/api/ingest-pipelines.rst +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/docs/sphinx/api/license.rst +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/docs/sphinx/api/logstash.rst +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/docs/sphinx/api/migration.rst +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/docs/sphinx/api/ml.rst +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/docs/sphinx/api/monitoring.rst +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/docs/sphinx/api/nodes.rst +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/docs/sphinx/api/query-rules.rst +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/docs/sphinx/api/rollup-indices.rst +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/docs/sphinx/api/search-application.rst +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/docs/sphinx/api/searchable-snapshots.rst +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/docs/sphinx/api/security.rst +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/docs/sphinx/api/shutdown.rst +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/docs/sphinx/api/simulate.rst +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/docs/sphinx/api/snapshot-lifecycle-management.rst +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/docs/sphinx/api/snapshots.rst +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/docs/sphinx/api/snapshottable-features.rst +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/docs/sphinx/api/sql.rst +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/docs/sphinx/api/synonyms.rst +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/docs/sphinx/api/tasks.rst +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/docs/sphinx/api/text-structure.rst +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/docs/sphinx/api/tls-ssl.rst +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/docs/sphinx/api/transforms.rst +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/docs/sphinx/api/watcher.rst +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/docs/sphinx/api/x-pack.rst +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/docs/sphinx/async.rst +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/docs/sphinx/conf.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/docs/sphinx/esql.rst +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/docs/sphinx/exceptions.rst +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/docs/sphinx/helpers.rst +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/docs/sphinx/index.rst +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/docs/sphinx/interactive.rst +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/docs/sphinx/quickstart.rst +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/__init__.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_async/__init__.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_async/client/_base.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_async/client/async_search.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_async/client/autoscaling.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_async/client/ccr.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_async/client/dangling_indices.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_async/client/enrich.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_async/client/eql.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_async/client/features.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_async/client/ingest.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_async/client/license.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_async/client/logstash.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_async/client/migration.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_async/client/ml.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_async/client/monitoring.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_async/client/query_rules.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_async/client/rollup.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_async/client/search_application.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_async/client/searchable_snapshots.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_async/client/security.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_async/client/simulate.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_async/client/ssl.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_async/client/synonyms.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_async/client/tasks.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_async/client/text_structure.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_async/client/utils.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_async/client/xpack.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_otel.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_sync/__init__.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_sync/client/_base.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_sync/client/async_search.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_sync/client/autoscaling.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_sync/client/ccr.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_sync/client/dangling_indices.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_sync/client/enrich.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_sync/client/eql.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_sync/client/features.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_sync/client/ingest.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_sync/client/license.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_sync/client/logstash.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_sync/client/migration.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_sync/client/ml.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_sync/client/monitoring.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_sync/client/query_rules.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_sync/client/rollup.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_sync/client/search_application.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_sync/client/searchable_snapshots.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_sync/client/security.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_sync/client/simulate.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_sync/client/ssl.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_sync/client/synonyms.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_sync/client/tasks.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_sync/client/text_structure.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_sync/client/utils.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_sync/client/xpack.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/_utils.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/dsl/_async/__init__.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/dsl/_async/faceted_search.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/dsl/_async/index.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/dsl/_async/mapping.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/dsl/_async/search.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/dsl/_async/update_by_query.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/dsl/_sync/__init__.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/dsl/_sync/faceted_search.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/dsl/_sync/index.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/dsl/_sync/mapping.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/dsl/_sync/search.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/dsl/_sync/update_by_query.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/dsl/analysis.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/dsl/async_connections.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/dsl/connections.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/dsl/document.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/dsl/exceptions.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/dsl/faceted_search.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/dsl/faceted_search_base.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/dsl/function.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/dsl/index.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/dsl/index_base.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/dsl/mapping.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/dsl/mapping_base.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/dsl/response/hit.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/dsl/search.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/dsl/search_base.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/dsl/serializer.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/dsl/update_by_query.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/dsl/update_by_query_base.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/dsl/wrappers.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/exceptions.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/helpers/errors.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/helpers/vectorstore/__init__.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/helpers/vectorstore/_async/__init__.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/helpers/vectorstore/_async/_utils.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/helpers/vectorstore/_async/embedding_service.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/helpers/vectorstore/_async/strategies.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/helpers/vectorstore/_async/vectorstore.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/helpers/vectorstore/_sync/__init__.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/helpers/vectorstore/_sync/_utils.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/helpers/vectorstore/_sync/embedding_service.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/helpers/vectorstore/_sync/strategies.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/helpers/vectorstore/_sync/vectorstore.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/helpers/vectorstore/_utils.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/py.typed +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/serializer.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/elasticsearch/transport.py +0 -0
- {elasticsearch-8.19.0 → elasticsearch-8.19.2}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: elasticsearch
|
|
3
|
-
Version: 8.19.
|
|
3
|
+
Version: 8.19.2
|
|
4
4
|
Summary: Python client for Elasticsearch
|
|
5
5
|
Project-URL: Documentation, https://elasticsearch-py.readthedocs.io/
|
|
6
6
|
Project-URL: Homepage, https://github.com/elastic/elasticsearch-py
|
|
@@ -41,12 +41,11 @@ Requires-Dist: isort; extra == 'dev'
|
|
|
41
41
|
Requires-Dist: jinja2; extra == 'dev'
|
|
42
42
|
Requires-Dist: mapbox-vector-tile; extra == 'dev'
|
|
43
43
|
Requires-Dist: mypy; extra == 'dev'
|
|
44
|
-
Requires-Dist: nltk; extra == 'dev'
|
|
45
44
|
Requires-Dist: nox; extra == 'dev'
|
|
46
45
|
Requires-Dist: numpy; extra == 'dev'
|
|
47
46
|
Requires-Dist: orjson; extra == 'dev'
|
|
48
47
|
Requires-Dist: pandas; extra == 'dev'
|
|
49
|
-
Requires-Dist: pyarrow; extra == 'dev'
|
|
48
|
+
Requires-Dist: pyarrow; (python_version < '3.14') and extra == 'dev'
|
|
50
49
|
Requires-Dist: pyright; extra == 'dev'
|
|
51
50
|
Requires-Dist: pytest; extra == 'dev'
|
|
52
51
|
Requires-Dist: pytest-asyncio; extra == 'dev'
|
|
@@ -55,7 +54,6 @@ Requires-Dist: pytest-mock; extra == 'dev'
|
|
|
55
54
|
Requires-Dist: python-dateutil; extra == 'dev'
|
|
56
55
|
Requires-Dist: pyyaml>=5.4; extra == 'dev'
|
|
57
56
|
Requires-Dist: requests<3,>=2; extra == 'dev'
|
|
58
|
-
Requires-Dist: sentence-transformers; extra == 'dev'
|
|
59
57
|
Requires-Dist: simsimd; extra == 'dev'
|
|
60
58
|
Requires-Dist: tqdm; extra == 'dev'
|
|
61
59
|
Requires-Dist: twine; extra == 'dev'
|
|
@@ -75,6 +75,7 @@ from .slm import SlmClient
|
|
|
75
75
|
from .snapshot import SnapshotClient
|
|
76
76
|
from .sql import SqlClient
|
|
77
77
|
from .ssl import SslClient
|
|
78
|
+
from .streams import StreamsClient
|
|
78
79
|
from .synonyms import SynonymsClient
|
|
79
80
|
from .tasks import TasksClient
|
|
80
81
|
from .text_structure import TextStructureClient
|
|
@@ -470,6 +471,7 @@ class AsyncElasticsearch(BaseClient):
|
|
|
470
471
|
self.shutdown = ShutdownClient(self)
|
|
471
472
|
self.sql = SqlClient(self)
|
|
472
473
|
self.ssl = SslClient(self)
|
|
474
|
+
self.streams = StreamsClient(self)
|
|
473
475
|
self.synonyms = SynonymsClient(self)
|
|
474
476
|
self.text_structure = TextStructureClient(self)
|
|
475
477
|
self.transform = TransformClient(self)
|
|
@@ -700,6 +702,7 @@ class AsyncElasticsearch(BaseClient):
|
|
|
700
702
|
<li>JavaScript: Check out <code>client.helpers.*</code></li>
|
|
701
703
|
<li>.NET: Check out <code>BulkAllObservable</code></li>
|
|
702
704
|
<li>PHP: Check out bulk indexing.</li>
|
|
705
|
+
<li>Ruby: Check out <code>Elasticsearch::Helpers::BulkHelper</code></li>
|
|
703
706
|
</ul>
|
|
704
707
|
<p><strong>Submitting bulk requests with cURL</strong></p>
|
|
705
708
|
<p>If you're providing text file input to <code>curl</code>, you must use the <code>--data-binary</code> flag instead of plain <code>-d</code>.
|
|
@@ -934,11 +937,7 @@ class AsyncElasticsearch(BaseClient):
|
|
|
934
937
|
if not __body:
|
|
935
938
|
if id is not None:
|
|
936
939
|
__body["id"] = id
|
|
937
|
-
|
|
938
|
-
__body = None # type: ignore[assignment]
|
|
939
|
-
__headers = {"accept": "application/json"}
|
|
940
|
-
if __body is not None:
|
|
941
|
-
__headers["content-type"] = "application/json"
|
|
940
|
+
__headers = {"accept": "application/json", "content-type": "application/json"}
|
|
942
941
|
return await self.perform_request( # type: ignore[return-value]
|
|
943
942
|
"DELETE",
|
|
944
943
|
__path,
|
|
@@ -1011,8 +1010,8 @@ class AsyncElasticsearch(BaseClient):
|
|
|
1011
1010
|
This parameter can be used only when the `q` query string parameter is specified.
|
|
1012
1011
|
:param analyzer: The analyzer to use for the query string. This parameter can
|
|
1013
1012
|
be used only when the `q` query string parameter is specified.
|
|
1014
|
-
:param default_operator: The default operator for query string query: `
|
|
1015
|
-
`
|
|
1013
|
+
:param default_operator: The default operator for query string query: `and` or
|
|
1014
|
+
`or`. This parameter can be used only when the `q` query string parameter
|
|
1016
1015
|
is specified.
|
|
1017
1016
|
:param df: The field to use as a default when no field prefix is given in the
|
|
1018
1017
|
query string. This parameter can be used only when the `q` query string parameter
|
|
@@ -1133,7 +1132,7 @@ class AsyncElasticsearch(BaseClient):
|
|
|
1133
1132
|
timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
|
|
1134
1133
|
version: t.Optional[int] = None,
|
|
1135
1134
|
version_type: t.Optional[
|
|
1136
|
-
t.Union[str, t.Literal["external", "external_gte", "
|
|
1135
|
+
t.Union[str, t.Literal["external", "external_gte", "internal"]]
|
|
1137
1136
|
] = None,
|
|
1138
1137
|
wait_for_active_shards: t.Optional[
|
|
1139
1138
|
t.Union[int, t.Union[str, t.Literal["all", "index-setting"]]]
|
|
@@ -1312,7 +1311,7 @@ class AsyncElasticsearch(BaseClient):
|
|
|
1312
1311
|
timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
|
|
1313
1312
|
version: t.Optional[int] = None,
|
|
1314
1313
|
version_type: t.Optional[
|
|
1315
|
-
t.Union[str, t.Literal["external", "external_gte", "
|
|
1314
|
+
t.Union[str, t.Literal["external", "external_gte", "internal"]]
|
|
1316
1315
|
] = None,
|
|
1317
1316
|
wait_for_active_shards: t.Optional[
|
|
1318
1317
|
t.Union[int, t.Union[str, t.Literal["all", "index-setting"]]]
|
|
@@ -1416,7 +1415,7 @@ class AsyncElasticsearch(BaseClient):
|
|
|
1416
1415
|
)
|
|
1417
1416
|
|
|
1418
1417
|
@_rewrite_parameters(
|
|
1419
|
-
body_fields=("max_docs", "query", "slice"),
|
|
1418
|
+
body_fields=("max_docs", "query", "slice", "sort"),
|
|
1420
1419
|
parameter_aliases={"from": "from_"},
|
|
1421
1420
|
)
|
|
1422
1421
|
async def delete_by_query(
|
|
@@ -1460,7 +1459,12 @@ class AsyncElasticsearch(BaseClient):
|
|
|
1460
1459
|
] = None,
|
|
1461
1460
|
slice: t.Optional[t.Mapping[str, t.Any]] = None,
|
|
1462
1461
|
slices: t.Optional[t.Union[int, t.Union[str, t.Literal["auto"]]]] = None,
|
|
1463
|
-
sort: t.Optional[
|
|
1462
|
+
sort: t.Optional[
|
|
1463
|
+
t.Union[
|
|
1464
|
+
t.Sequence[t.Union[str, t.Mapping[str, t.Any]]],
|
|
1465
|
+
t.Union[str, t.Mapping[str, t.Any]],
|
|
1466
|
+
]
|
|
1467
|
+
] = None,
|
|
1464
1468
|
stats: t.Optional[t.Sequence[str]] = None,
|
|
1465
1469
|
terminate_after: t.Optional[int] = None,
|
|
1466
1470
|
timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
|
|
@@ -1552,8 +1556,8 @@ class AsyncElasticsearch(BaseClient):
|
|
|
1552
1556
|
used only when the `q` query string parameter is specified.
|
|
1553
1557
|
:param conflicts: What to do if delete by query hits version conflicts: `abort`
|
|
1554
1558
|
or `proceed`.
|
|
1555
|
-
:param default_operator: The default operator for query string query: `
|
|
1556
|
-
`
|
|
1559
|
+
:param default_operator: The default operator for query string query: `and` or
|
|
1560
|
+
`or`. This parameter can be used only when the `q` query string parameter
|
|
1557
1561
|
is specified.
|
|
1558
1562
|
:param df: The field to use as default where no field prefix is given in the
|
|
1559
1563
|
query string. This parameter can be used only when the `q` query string parameter
|
|
@@ -1592,7 +1596,7 @@ class AsyncElasticsearch(BaseClient):
|
|
|
1592
1596
|
:param slice: Slice the request manually using the provided slice ID and total
|
|
1593
1597
|
number of slices.
|
|
1594
1598
|
:param slices: The number of slices this task should be divided into.
|
|
1595
|
-
:param sort: A
|
|
1599
|
+
:param sort: A sort object that specifies the order of deleted documents.
|
|
1596
1600
|
:param stats: The specific `tag` of the request for logging and statistical purposes.
|
|
1597
1601
|
:param terminate_after: The maximum number of documents to collect for each shard.
|
|
1598
1602
|
If a query reaches this limit, Elasticsearch terminates the query early.
|
|
@@ -1682,8 +1686,6 @@ class AsyncElasticsearch(BaseClient):
|
|
|
1682
1686
|
__query["search_type"] = search_type
|
|
1683
1687
|
if slices is not None:
|
|
1684
1688
|
__query["slices"] = slices
|
|
1685
|
-
if sort is not None:
|
|
1686
|
-
__query["sort"] = sort
|
|
1687
1689
|
if stats is not None:
|
|
1688
1690
|
__query["stats"] = stats
|
|
1689
1691
|
if terminate_after is not None:
|
|
@@ -1703,6 +1705,8 @@ class AsyncElasticsearch(BaseClient):
|
|
|
1703
1705
|
__body["query"] = query
|
|
1704
1706
|
if slice is not None:
|
|
1705
1707
|
__body["slice"] = slice
|
|
1708
|
+
if sort is not None:
|
|
1709
|
+
__body["sort"] = sort
|
|
1706
1710
|
__headers = {"accept": "application/json", "content-type": "application/json"}
|
|
1707
1711
|
return await self.perform_request( # type: ignore[return-value]
|
|
1708
1712
|
"POST",
|
|
@@ -1847,7 +1851,7 @@ class AsyncElasticsearch(BaseClient):
|
|
|
1847
1851
|
stored_fields: t.Optional[t.Union[str, t.Sequence[str]]] = None,
|
|
1848
1852
|
version: t.Optional[int] = None,
|
|
1849
1853
|
version_type: t.Optional[
|
|
1850
|
-
t.Union[str, t.Literal["external", "external_gte", "
|
|
1854
|
+
t.Union[str, t.Literal["external", "external_gte", "internal"]]
|
|
1851
1855
|
] = None,
|
|
1852
1856
|
) -> HeadApiResponse:
|
|
1853
1857
|
"""
|
|
@@ -1976,7 +1980,7 @@ class AsyncElasticsearch(BaseClient):
|
|
|
1976
1980
|
source_includes: t.Optional[t.Union[str, t.Sequence[str]]] = None,
|
|
1977
1981
|
version: t.Optional[int] = None,
|
|
1978
1982
|
version_type: t.Optional[
|
|
1979
|
-
t.Union[str, t.Literal["external", "external_gte", "
|
|
1983
|
+
t.Union[str, t.Literal["external", "external_gte", "internal"]]
|
|
1980
1984
|
] = None,
|
|
1981
1985
|
) -> HeadApiResponse:
|
|
1982
1986
|
"""
|
|
@@ -2105,8 +2109,8 @@ class AsyncElasticsearch(BaseClient):
|
|
|
2105
2109
|
This parameter can be used only when the `q` query string parameter is specified.
|
|
2106
2110
|
:param analyzer: The analyzer to use for the query string. This parameter can
|
|
2107
2111
|
be used only when the `q` query string parameter is specified.
|
|
2108
|
-
:param default_operator: The default operator for query string query: `
|
|
2109
|
-
`
|
|
2112
|
+
:param default_operator: The default operator for query string query: `and` or
|
|
2113
|
+
`or`. This parameter can be used only when the `q` query string parameter
|
|
2110
2114
|
is specified.
|
|
2111
2115
|
:param df: The field to use as default where no field prefix is given in the
|
|
2112
2116
|
query string. This parameter can be used only when the `q` query string parameter
|
|
@@ -2348,7 +2352,7 @@ class AsyncElasticsearch(BaseClient):
|
|
|
2348
2352
|
stored_fields: t.Optional[t.Union[str, t.Sequence[str]]] = None,
|
|
2349
2353
|
version: t.Optional[int] = None,
|
|
2350
2354
|
version_type: t.Optional[
|
|
2351
|
-
t.Union[str, t.Literal["external", "external_gte", "
|
|
2355
|
+
t.Union[str, t.Literal["external", "external_gte", "internal"]]
|
|
2352
2356
|
] = None,
|
|
2353
2357
|
) -> ObjectApiResponse[t.Any]:
|
|
2354
2358
|
"""
|
|
@@ -2635,7 +2639,7 @@ class AsyncElasticsearch(BaseClient):
|
|
|
2635
2639
|
source_includes: t.Optional[t.Union[str, t.Sequence[str]]] = None,
|
|
2636
2640
|
version: t.Optional[int] = None,
|
|
2637
2641
|
version_type: t.Optional[
|
|
2638
|
-
t.Union[str, t.Literal["external", "external_gte", "
|
|
2642
|
+
t.Union[str, t.Literal["external", "external_gte", "internal"]]
|
|
2639
2643
|
] = None,
|
|
2640
2644
|
) -> ObjectApiResponse[t.Any]:
|
|
2641
2645
|
"""
|
|
@@ -2815,7 +2819,7 @@ class AsyncElasticsearch(BaseClient):
|
|
|
2815
2819
|
timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
|
|
2816
2820
|
version: t.Optional[int] = None,
|
|
2817
2821
|
version_type: t.Optional[
|
|
2818
|
-
t.Union[str, t.Literal["external", "external_gte", "
|
|
2822
|
+
t.Union[str, t.Literal["external", "external_gte", "internal"]]
|
|
2819
2823
|
] = None,
|
|
2820
2824
|
wait_for_active_shards: t.Optional[
|
|
2821
2825
|
t.Union[int, t.Union[str, t.Literal["all", "index-setting"]]]
|
|
@@ -3179,11 +3183,7 @@ class AsyncElasticsearch(BaseClient):
|
|
|
3179
3183
|
__body["_source"] = source
|
|
3180
3184
|
if stored_fields is not None:
|
|
3181
3185
|
__body["stored_fields"] = stored_fields
|
|
3182
|
-
|
|
3183
|
-
__body = None # type: ignore[assignment]
|
|
3184
|
-
__headers = {"accept": "application/json"}
|
|
3185
|
-
if __body is not None:
|
|
3186
|
-
__headers["content-type"] = "application/json"
|
|
3186
|
+
__headers = {"accept": "application/json", "content-type": "application/json"}
|
|
3187
3187
|
return await self.perform_request( # type: ignore[return-value]
|
|
3188
3188
|
"POST",
|
|
3189
3189
|
__path,
|
|
@@ -3608,7 +3608,7 @@ class AsyncElasticsearch(BaseClient):
|
|
|
3608
3608
|
term_statistics: t.Optional[bool] = None,
|
|
3609
3609
|
version: t.Optional[int] = None,
|
|
3610
3610
|
version_type: t.Optional[
|
|
3611
|
-
t.Union[str, t.Literal["external", "external_gte", "
|
|
3611
|
+
t.Union[str, t.Literal["external", "external_gte", "internal"]]
|
|
3612
3612
|
] = None,
|
|
3613
3613
|
body: t.Optional[t.Dict[str, t.Any]] = None,
|
|
3614
3614
|
) -> ObjectApiResponse[t.Any]:
|
|
@@ -4018,7 +4018,7 @@ class AsyncElasticsearch(BaseClient):
|
|
|
4018
4018
|
)
|
|
4019
4019
|
|
|
4020
4020
|
@_rewrite_parameters(
|
|
4021
|
-
body_fields=("dest", "source", "conflicts", "max_docs", "script"
|
|
4021
|
+
body_fields=("dest", "source", "conflicts", "max_docs", "script"),
|
|
4022
4022
|
)
|
|
4023
4023
|
async def reindex(
|
|
4024
4024
|
self,
|
|
@@ -4036,7 +4036,6 @@ class AsyncElasticsearch(BaseClient):
|
|
|
4036
4036
|
require_alias: t.Optional[bool] = None,
|
|
4037
4037
|
script: t.Optional[t.Mapping[str, t.Any]] = None,
|
|
4038
4038
|
scroll: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
|
|
4039
|
-
size: t.Optional[int] = None,
|
|
4040
4039
|
slices: t.Optional[t.Union[int, t.Union[str, t.Literal["auto"]]]] = None,
|
|
4041
4040
|
timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
|
|
4042
4041
|
wait_for_active_shards: t.Optional[
|
|
@@ -4208,7 +4207,6 @@ class AsyncElasticsearch(BaseClient):
|
|
|
4208
4207
|
reindexing.
|
|
4209
4208
|
:param scroll: The period of time that a consistent view of the index should
|
|
4210
4209
|
be maintained for scrolled search.
|
|
4211
|
-
:param size:
|
|
4212
4210
|
:param slices: The number of slices this task should be divided into. It defaults
|
|
4213
4211
|
to one slice, which means the task isn't sliced into subtasks. Reindex supports
|
|
4214
4212
|
sliced scroll to parallelize the reindexing process. This parallelization
|
|
@@ -4273,8 +4271,6 @@ class AsyncElasticsearch(BaseClient):
|
|
|
4273
4271
|
__body["max_docs"] = max_docs
|
|
4274
4272
|
if script is not None:
|
|
4275
4273
|
__body["script"] = script
|
|
4276
|
-
if size is not None:
|
|
4277
|
-
__body["size"] = size
|
|
4278
4274
|
__headers = {"accept": "application/json", "content-type": "application/json"}
|
|
4279
4275
|
return await self.perform_request( # type: ignore[return-value]
|
|
4280
4276
|
"POST",
|
|
@@ -4401,11 +4397,7 @@ class AsyncElasticsearch(BaseClient):
|
|
|
4401
4397
|
__body["params"] = params
|
|
4402
4398
|
if source is not None:
|
|
4403
4399
|
__body["source"] = source
|
|
4404
|
-
|
|
4405
|
-
__body = None # type: ignore[assignment]
|
|
4406
|
-
__headers = {"accept": "application/json"}
|
|
4407
|
-
if __body is not None:
|
|
4408
|
-
__headers["content-type"] = "application/json"
|
|
4400
|
+
__headers = {"accept": "application/json", "content-type": "application/json"}
|
|
4409
4401
|
return await self.perform_request( # type: ignore[return-value]
|
|
4410
4402
|
"POST",
|
|
4411
4403
|
__path,
|
|
@@ -4488,11 +4480,7 @@ class AsyncElasticsearch(BaseClient):
|
|
|
4488
4480
|
__body["context_setup"] = context_setup
|
|
4489
4481
|
if script is not None:
|
|
4490
4482
|
__body["script"] = script
|
|
4491
|
-
|
|
4492
|
-
__body = None # type: ignore[assignment]
|
|
4493
|
-
__headers = {"accept": "application/json"}
|
|
4494
|
-
if __body is not None:
|
|
4495
|
-
__headers["content-type"] = "application/json"
|
|
4483
|
+
__headers = {"accept": "application/json", "content-type": "application/json"}
|
|
4496
4484
|
return await self.perform_request( # type: ignore[return-value]
|
|
4497
4485
|
"POST",
|
|
4498
4486
|
__path,
|
|
@@ -4768,8 +4756,8 @@ class AsyncElasticsearch(BaseClient):
|
|
|
4768
4756
|
node and the remote clusters are minimized when running cross-cluster search
|
|
4769
4757
|
(CCS) requests.
|
|
4770
4758
|
:param collapse: Collapses search results the values of the specified field.
|
|
4771
|
-
:param default_operator: The default operator for the query string query: `
|
|
4772
|
-
or `
|
|
4759
|
+
:param default_operator: The default operator for the query string query: `and`
|
|
4760
|
+
or `or`. This parameter can be used only when the `q` query string parameter
|
|
4773
4761
|
is specified.
|
|
4774
4762
|
:param df: The field to use as a default when no field prefix is given in the
|
|
4775
4763
|
query string. This parameter can be used only when the `q` query string parameter
|
|
@@ -5971,11 +5959,7 @@ class AsyncElasticsearch(BaseClient):
|
|
|
5971
5959
|
__body["string"] = string
|
|
5972
5960
|
if timeout is not None:
|
|
5973
5961
|
__body["timeout"] = timeout
|
|
5974
|
-
|
|
5975
|
-
__body = None # type: ignore[assignment]
|
|
5976
|
-
__headers = {"accept": "application/json"}
|
|
5977
|
-
if __body is not None:
|
|
5978
|
-
__headers["content-type"] = "application/json"
|
|
5962
|
+
__headers = {"accept": "application/json", "content-type": "application/json"}
|
|
5979
5963
|
return await self.perform_request( # type: ignore[return-value]
|
|
5980
5964
|
"POST",
|
|
5981
5965
|
__path,
|
|
@@ -6010,7 +5994,7 @@ class AsyncElasticsearch(BaseClient):
|
|
|
6010
5994
|
doc: t.Optional[t.Mapping[str, t.Any]] = None,
|
|
6011
5995
|
error_trace: t.Optional[bool] = None,
|
|
6012
5996
|
field_statistics: t.Optional[bool] = None,
|
|
6013
|
-
fields: t.Optional[t.
|
|
5997
|
+
fields: t.Optional[t.Sequence[str]] = None,
|
|
6014
5998
|
filter: t.Optional[t.Mapping[str, t.Any]] = None,
|
|
6015
5999
|
filter_path: t.Optional[t.Union[str, t.Sequence[str]]] = None,
|
|
6016
6000
|
human: t.Optional[bool] = None,
|
|
@@ -6025,7 +6009,7 @@ class AsyncElasticsearch(BaseClient):
|
|
|
6025
6009
|
term_statistics: t.Optional[bool] = None,
|
|
6026
6010
|
version: t.Optional[int] = None,
|
|
6027
6011
|
version_type: t.Optional[
|
|
6028
|
-
t.Union[str, t.Literal["external", "external_gte", "
|
|
6012
|
+
t.Union[str, t.Literal["external", "external_gte", "internal"]]
|
|
6029
6013
|
] = None,
|
|
6030
6014
|
body: t.Optional[t.Dict[str, t.Any]] = None,
|
|
6031
6015
|
) -> ObjectApiResponse[t.Any]:
|
|
@@ -6491,8 +6475,8 @@ class AsyncElasticsearch(BaseClient):
|
|
|
6491
6475
|
be used only when the `q` query string parameter is specified.
|
|
6492
6476
|
:param conflicts: The preferred behavior when update by query hits version conflicts:
|
|
6493
6477
|
`abort` or `proceed`.
|
|
6494
|
-
:param default_operator: The default operator for query string query: `
|
|
6495
|
-
`
|
|
6478
|
+
:param default_operator: The default operator for query string query: `and` or
|
|
6479
|
+
`or`. This parameter can be used only when the `q` query string parameter
|
|
6496
6480
|
is specified.
|
|
6497
6481
|
:param df: The field to use as default where no field prefix is given in the
|
|
6498
6482
|
query string. This parameter can be used only when the `q` query string parameter
|