Releases: elastic/enterprise-search-python
8.18.0
Client is compatible with Elastic Enterprise Search 8.18.0
Warning
App Search and Workplace Search will be discontinued in 9.0
Starting with Elastic version 9.0, the standalone Enterprise Search products, will no longer be included in our offering.
They remain supported in their current form in version 8.x and will only receive security upgrades and fixes.
Enterprise Search clients will continue to be supported in their current form throughout 8.x versions, according to our EOL policy.
We recommend transitioning to our actively developed Elastic Stack tools for your search use cases. However, if you're still using any Enterprise Search products, we recommend using the latest stable release of the clients.
Here are some useful links with more information:
8.11.0
8.10.0
Client is compatible with Elastic Enterprise Search 8.10.0
Added
- Added
get_storage,get_stale_storageanddelete_stale_storagetoenterprise_search. - Added
precision_enabledparameter name toapp_search.put_search_settings.
Fixed
- Fixed
boostsparameter name inapp_search.searchandapp_search.search_explain.
8.4.0
Added
- Added the
app_search.search_es_searchAPI method.
Client
- Changed URL parsing to use default ports for
httpandhttpsschemes instead of raising an error.
8.3.0
Added
- Added the
current_pageparameter to many APIs that support pagination. - Added the
app_search.multi_searchAPI for v8.x - Added the
enterprise_search.get_search_enginesAPI
Fixed
- Fixed the
overridesparameter of theapp_search.get_top_queries_analyticsandcreate_crawler_crawl_requestAPIs
Removed
- Removed unused
created_atparameters for variouscreate_*APIs. These parameters weren't used by the server and were only generated due to issues with the API specification.
8.2.0
Client
Added
- Added
AsyncAppSearch,AsyncEnterpriseSearch, andAsyncWorkplaceSearchclients which have async API methods. - Added the top-level
.options()method to all client classes for modifying transport options. - Added parameters corresponding to JSON request body fields for all APIs
- Added
basic_authparameter for specifying username and password authentication - Added
bearer_authparameter for specifying an HTTP bearer tokens - Added the
metaproperty toApiErrorto access the HTTP response metadata of an error. - Added a check that a compatible version of the
elastic-transportpackage is installed.
Changed
- Changed responses to be objects with two properties,
metafor response metadata (HTTP status, headers, node, etc) andbodythe raw deserialized body.
Removed
- Removed support for Python 2.7 and Python 3.5, the library now supports only Python 3.6+
- Removed the default URL of
http://localhost:3002. URL must be specified explicitly. - Removed the ability to use positional arguments with API methods. Going forward all API parameters must be keyword-only parameters
Deprecated
- Deprecated the
bodyandparamsparameters on all APIs - Deprecated setting transport options
http_auth,ignore,request_timeout, andheaders
All of these settings should instead be set via the.options()method
8.1.0-alpha1
Client
Added
- Added
AsyncAppSearch,AsyncEnterpriseSearch, andAsyncWorkplaceSearchclients which have async API methods. - Added the top-level
.options()method to all client classes for modifying transport options. - Added parameters corresponding to JSON request body fields for all APIs
- Added
basic_authparameter for specifying username and password authentication - Added
bearer_authparameter for specifying an HTTP bearer tokens - Added the
metaproperty toApiErrorto access the HTTP response metadata of an error. - Added a check that a compatible version of the
elastic-transportpackage is installed.
Changed
- Changed user-defined
bodyparameters to have semantic names (e.gindex_documents(documents={...})instead ofindex_documents(body={...})). - Changed responses to be objects with two properties,
metafor response metadata (HTTP status, headers, node, etc) andbodyfor a typed body.
Removed
- Removed support for Python 2.7 and Python 3.5, the library now supports only Python 3.6+
- Removed the default URL of
http://localhost:3002. URL must be specified explicitly. - Removed the ability to use positional arguments with API methods. Going forward all API parameters must be keyword-only parameters
Deprecated
- Deprecated the
bodyandparamsparameters on all APIs - Deprecated setting transport options
http_auth,api_key,ignore,request_timeout, andheaders
All of these settings should instead be set via the.options()method
7.17.0
General
- Updated APIs to the 7.17 specification
App Search
- Added the
current_pageandpage_sizeparameters to thelist_crawler_crawl_requestsandlist_crawler_process_crawlsAPIs
7.16.0
Client
- Deprecated support for Python 2.7, 3.4, and 3.5. Support will be removed in v8.0.0.
- Updated APIs to the 7.16 specification
App Search
- Added the
get_adaptive_relevance_settings,put_adaptive_relevance_settings,get_adaptive_relevance_suggestions,list_adaptive_relevance_suggestions,put_adaptive_relevance_suggestions - Fixed the pagination parameters for
list_crawler_crawl_requestsandlist_crawler_process_crawlsAPIs tocurrent_pageandpage_size, were previouslylimit.
Workplace Search
- Added the
list_documentsAPI
7.15.0
APIs
App Search
- Added the
delete_crawler_active_crawl_requestAPI - Added the
get_crawler_active_crawl_requestAPI - Added the
create_crawler_crawl_requestAPI - Added the
get_crawler_crawl_requestAPI - Added the
list_crawler_crawl_requestsAPI - Added the
create_crawler_crawl_ruleAPI - Added the
delete_crawler_crawl_ruleAPI - Added the
put_crawler_crawl_ruleAPI - Added the
delete_crawler_crawl_scheduleAPI - Added the
get_crawler_crawl_scheduleAPI - Added the
put_crawler_crawl_scheduleAPI - Added the
create_crawler_domainAPI - Added the
delete_crawler_domainAPI - Added the
get_crawler_domainAPI - Added the
put_crawler_domainAPI - Added the
get_crawler_domain_validation_resultAPI - Added the
create_crawler_entry_pointAPI - Added the
delete_crawler_entry_pointAPI - Added the
put_crawler_entry_pointAPI - Added the
get_crawler_metricsAPI - Added the
get_crawler_overviewAPI - Added the
create_crawler_process_crawlAPI - Added the
get_crawler_process_crawl_denied_urlsAPI - Added the
get_crawler_process_crawlAPI - Added the
list_crawler_process_crawlsAPI - Added the
create_crawler_sitemapAPI - Added the
delete_crawler_sitemapAPI - Added the
put_crawler_sitemapAPI - Added the
get_crawler_url_extraction_resultAPI - Added the
get_crawler_url_tracing_resultAPI - Added the
get_crawler_url_validation_resultAPI - Added the
get_crawler_user_agentAPI
Workplace Search
- Added the
get_auto_query_refinement_detailsAPI - Added the
put_content_source_iconsAPI - Added the
delete_documents_by_queryAPI - Added the
get_triggers_blocklistAPI - Added the
put_triggers_blocklistAPI - Removed the
delete_all_documentsAPI in favor of thedelete_documents_by_queryAPI without filters.