Official Python client for Elasticsearch
APACHE-2.0 License
Bot releases are visible (Hide)
Published by sethmlarson about 3 years ago
UnsupportedProductError
exception will be raised.Added the terms_enum
beta API
Removed the query_and_fetch
and dfs_query_and_fetch
options in the search_type
parameter to the msearch
, msearch_template
and search_template
APIs
ilm.migrate_to_data_tiers
APIml.reset_job
APIsecurity.saml_authenticate
APIsecurity.saml_complete_logout
APIsecurity.saml_invalidate
APIsecurity.saml_logout
APIsecurity.saml_prepare_authentication
APIsecurity.saml_service_provider_metadata
APIsql.delete_async
APIsql.get_async
APIsql.get_async_status
APIinclude_repository
parameter to snapshot.get
APIrarely_abort_writes
parameter to the snapshot.repository_analyze
APIPublished by sethmlarson about 3 years ago
Published by sethmlarson over 3 years ago
NotElasticsearchError
exception will be raised.Added the terms_enum
beta API
Removed the query_and_fetch
and dfs_query_and_fetch
options in the search_type
parameter to the msearch
, msearch_template
and search_template
APIs
ilm.migrate_to_data_tiers
APIml.reset_job
APIsecurity.saml_authenticate
APIsecurity.saml_complete_logout
APIsecurity.saml_invalidate
APIsecurity.saml_logout
APIsecurity.saml_prepare_authentication
APIsecurity.saml_service_provider_metadata
APIinclude_repository
parameter to snapshot.get
APIrarely_abort_writes
parameter to the snapshot.repository_analyze
APIPublished by sethmlarson over 3 years ago
NameError
would be raised on Python 2.7 and 3.4 when a connection error would have otherwise been raised.Published by sethmlarson over 3 years ago
⚠️ This release has been yanked on PyPI due to a regression in Python <3.5, please use another version.
Transport.perform_request()
now properly reraises RecursionError
(Contributed by @hmilkovi)AIOHttpConnection
no longer sends Accept-Encoding: gzip, deflate
when http_compress=None
.Accept-Encoding
header.snapshot.repository_analyze
APIPublished by sethmlarson over 3 years ago
Published by sethmlarson over 3 years ago
ELASTIC_CLIENT_APIVERSIONING=1
is set the client will send the headers Accept and Content-Type with the following value: application/vnd.elasticsearch+json;compatible-with=7
.include_unloaded_segments
parameter to the cat.nodes
APIfeatures.reset_features
experimental APIfleet.global_checkpoints
expiremental APIingest.geo_ip_stats
APIml.delete_trained_model_alias
APIml.preview_data_frame_analytics
APIml.put_trained_model_alias
APIml.delete_data_frame_analytics
, ml.delete_trained_model
, ml.explain_data_frame_analytics
, ml.get_data_fram_analytics
, ml.get_data_frame_analytics_stats
, ml.get_trained_models
, ml.get_trained_models_stats
, ml.put_trained_model
, ml.start_data_frame_analytics
, ml.stop_data_frame_analytics
, ml.update_data_frame_analytics
APIs from beta to stable.include_unloaded_segments
parameter to node.stats
APIsearchable_snapshots.cache_stats
experimental APIsecurity.clear_cached_service_tokens
beta APIsecurity.create_service_token
beta APIsecurity.delete_service_token
beta APIsecurity.get_service_accounts
beta APIsecurity.get_service_credentials
beta APIshutdown.delete_node
experiemental APIshutdown.get_node
experimental APIshutdown.put_node
experimental APIindex_details
parameter to snapshot.get
APItext_structure.find_structure
API from experimental to stable
Published by sethmlarson over 3 years ago
text_structure.find_text_structure
API from experimental to stable
Published by sethmlarson over 3 years ago
autoscaling.delete_autoscaling_policy
, autoscaling.get_autoscaling_policy
, and autoscaling.put_autoscaling_policy
APIs from experimental to stable
eql.get_status
APIlogstash.delete_pipeline
, logstash.get_pipeline
, and logstash.put_pipeline
APIsml.find_text_structure
APIstorage
parameter to the searchable_snapshots.mount
APIlevel
parameter to the searchable_snapshots.stats
APImin_compatible_shard_node
parameter to search()
text_structure.find_text_structure
APIPublished by sethmlarson over 3 years ago
X-Elastic-Client-Meta
HTTP header and the meta_header
parameter for controlling the header (#1473)ElasticsearchWarning
which is raised when the Warning
HTTP header is returned from Elasticsearch. ElasticsearchDeprecationWarning
is now an alias for this warning type (#1495)async_search.status
APIautoscaling.get_autoscaling_capacity
experimental APIautoscaling.get_autoscaling_decision
experimental APIcat.tasks
API parameters node_id
and parent_task
to nodes
and parent_task_id
cluster.delete_component_template
, cluster.exists_component_template
, and cluster.get_component_template
,cluster.put_component_template
APIs from experimental to stable
eql.delete
, eql.get
, eql.search
APIs from beta to stable
indices.migrate_to_data_stream
APIindices.promote_data_stream
APIexpand_wildcards
parameter to the indices.delete_data_stream
and indices.get_data_stream
APIsindices.delete_index_template
, indices.exists_index_template
, indices.get_index_template
, indices.put_index_template
, indices.simulate_index_template
, and indices.simulate_template
APIs moved from experimental to stable
ml.upgrade_job_snapshot
APIexclude_generated
parameter to ml.get_data_frame_analytics
, ml.get_datafeeds
, ml.get_jobs
, and ml.get_trained_models
APIsml.delete_data_frame_analytics
, ml.delete_trained_model
, ml.explain_data_frame_analytics
, ml.get_data_frame_analytics
, ml.get_data_frame_analytics_stats
, ml.get_trained_models
, ml.get_trained_models_stats
, ml.put_data_frame_analytics
, ml.put_trained_model
, ml.start_data_frame_analytics
, ml.stop_data_frame_analytics
, ml.update_data_frame_analytics
APIs from experimental to beta
rollup.rollup
APIexclude_generated
parameter to transform.get_transform
APIwatcher.query_watches
APIPublished by sethmlarson over 3 years ago
X-Elastic-Client-Meta
HTTP header and the meta_header
parameter for controlling the header (#1473)ElasticsearchWarning
which is raised when the Warning
HTTP header is returned from Elasticsearch. ElasticsearchDeprecationWarning
is now an alias for this warning type (#1495)async_search.status
APIautoscaling.get_autoscaling_capacity
experimental APIautoscaling.get_autoscaling_decision
experimental APIcat.tasks
API parameters node_id
and parent_task
to nodes
and parent_task_id
cluster.delete_component_template
, cluster.exists_component_template
, and cluster.get_component_template
,cluster.put_component_template
APIs from experimental to stable
eql.delete
, eql.get
, eql.search
APIs from beta to stable
indices.migrate_to_data_stream
APIindices.promote_data_stream
APIexpand_wildcards
parameter to the indices.delete_data_stream
and indices.get_data_stream
APIsindices.delete_index_template
, indices.exists_index_template
, indices.get_index_template
, indices.put_index_template
, indices.simulate_index_template
, and indices.simulate_template
APIs moved from experimental to stable
ml.upgrade_job_snapshot
APIexclude_generated
parameter to ml.get_data_frame_analytics
, ml.get_datafeeds
, ml.get_jobs
, and ml.get_trained_models
APIsml.delete_data_frame_analytics
, ml.delete_trained_model
, ml.explain_data_frame_analytics
, ml.get_data_frame_analytics
, ml.get_data_frame_analytics_stats
, ml.get_trained_models
, ml.get_trained_models_stats
, ml.put_data_frame_analytics
, ml.put_trained_model
, ml.start_data_frame_analytics
, ml.stop_data_frame_analytics
, ml.update_data_frame_analytics
APIs from experimental to beta
rollup.rollup
APIexclude_generated
parameter to transform.get_transform
APIwatcher.query_watches
APIPublished by sethmlarson almost 4 years ago
scroll
response returned without a value for _shards.skipped
(#1451)Connection.host
property (#1460)collections.Mapping
in favor of collections.abc.Mapping
for Python 3.9 (#1443)Published by sethmlarson almost 4 years ago
_if_seq_no
/_if_primary_term
) to bulk helpers (#1387)_source
with "_op_type": "update"
bulk helpers (#1387)yarl
dependency from [async]
extra to avoid issue where pip would override aiohttp
's pin of yarl
. This was not a problem if you install with --use-feature=2020-resolver
. Users should see no changes. (#1401)Connection.log_request_failure()
call would receive the compressed HTTP body rather than uncompressed when an error is raised for RequestsHttpConnection
(#1394)sniff_timeout
was used instead of sniffer_timeout
(#1431, contributed by @HarrySky)snapshot.clone
methodrequire_alias
parameter to multiple index APIsclose_point_in_time
and open_point_in_time
methodssecurity.clear_api_key_cache
and security.grant_api_key
methodsallow_no_jobs
parameter of cat.ml_jobs
and ml.close_job
, ml.get_job_stats
, ml.get_jobs
, ml.get_overall_buckets
methods in favor of allow_no_match
parameterallow_no_datafeeds
parameter of ml.get_datafeed_stats
, ml.get_datafeeds
, ml.stop_datafeed
in favor of allow_no_match
parameterinclude_model_definition
parameter of ml.get_trained_models
method in favor of include
parameterPublished by sethmlarson almost 4 years ago
_if_seq_no
/_if_primary_term
) to bulk helpers (#1387)_source
with "_op_type": "update"
bulk helpers (#1387)yarl
dependency from [async]
extra to avoid issue where pip would override aiohttp
's pin of yarl
. This was not a problem if you install with --use-feature=2020-resolver
. Users should see no changes. (#1401)Connection.log_request_failure()
call would receive the compressed HTTP body rather than uncompressed when an error is raised for RequestsHttpConnection
(#1394)Published by sethmlarson about 4 years ago
_if_seq_no
/_if_primary_term
) to bulk helpers (#1387)_source
with "_op_type": "update"
bulk helpers (#1387)yarl
dependency from [async]
extra to avoid issue where pip would override aiohttp
's pin of yarl
. This was not a problem if you install with --use-feature=2020-resolver
. Users should see no changes. (#1401)Connection.log_request_failure()
call would receive the compressed HTTP body rather than uncompressed when an error is raised for RequestsHttpConnection
(#1394)