Commit Graph
193 Commits
Author SHA1 Message Date
Seth Michael LarsonandGitHub a728aaa491 [7.x] Sort imports with isort and regenerate APIs 2021-01-13 14:21:04 -06:00
aa78a434e9 [7.x] Remove duplicate IndicesClient in Elasticsearch constructor
Co-authored-by: Seth Michael Larson <[email protected]>
Co-authored-by: Graywd <[email protected]>
2020-12-22 08:52:34 -06:00
Seth Michael LarsonandGitHub d08860a357 [7.x] Document all APIs, add stability warning 2020-10-28 13:49:05 -05:00
Seth Michael LarsonandSeth Michael Larson c1fbdef75e API: Update Elasticsearch APIs for 7.x 2020-10-20 15:22:43 -05:00
Seth Michael LarsonandSeth Michael Larson 631a6d2fa8 [7.x] Generate new API type stubs 2020-09-28 15:49:14 -05:00
Seth Michael LarsonandSeth Michael Larson 6f66f7958b [7.x] Add 'write_only' option to Index APIs 2020-07-29 17:12:11 -05:00
Seth Michael LarsonandGitHub b13c7c6217 [7.x] Switch to long Apache-2.0 license header 2020-07-02 13:15:25 -05:00
Seth Michael LarsonandGitHub d73d7a0d8f [7.x] Add Dangling Indices API 2020-06-23 15:34:31 -05:00
Seth Michael LarsonandGitHub 5db3482b5c Add typeless API for exists_source 2020-06-03 10:38:35 -05:00
Seth Michael Larson 99d026502c [7.x] Add documentation for async support 2020-05-29 12:29:08 -05:00
Seth Michael LarsonandSeth Michael Larson 1773bd17be [7.x] Backport overrides for typeless APIs 2020-05-26 08:23:21 -05:00
Seth Michael LarsonandSeth Michael Larson 05e5dc9402 [7.x] Generate async API 2020-05-21 11:36:21 -05:00
Seth Michael LarsonandSeth Michael Larson bed5ffc740 [7.x] Update API generator for async 2020-05-21 11:36:21 -05:00
Seth Michael LarsonandSeth Michael Larson f8b005f62e Update 7.x REST APIs 2020-05-19 14:18:53 -05:00
Seth Michael LarsonandSeth Michael Larson 8e1798cf31 Apply license header changes and API gen 2020-04-23 14:10:49 -05:00
Seth Michael LarsonandSeth Michael Larson 24c57840cb Update API and license tools 2020-04-23 14:10:49 -05:00
Seth Michael LarsonandGitHub 44571e0ae9 Release 7.7.0a2 2020-04-03 12:52:11 -05:00
Seth Michael LarsonandGitHub 9c39f37547 Release 7.7.0a1 2020-04-01 09:16:38 -05:00
Morten HaubergandGitHub acbbdd2d0a Remove duplicate arguments in docstrings 2020-03-20 08:21:11 -05:00
Seth Michael LarsonandGitHub 883287551a Update supported ES API to 7.6 2020-03-13 13:44:46 -05:00
Seth Michael LarsonandGitHub 9219c92779 [7.x] Add support for X-Opaque-Id 2020-03-11 16:33:15 -05:00
Seth Michael LarsonandSeth Michael Larson 210fae23d0 Run Black+Flake8 on project 2020-03-09 13:54:47 -05:00
Seth Michael LarsonandSeth Michael Larson 35f263c950 Standardize docs spacing for 'Valid values' and 'Default' 2020-02-21 16:49:15 -06:00
Honza Král 415f744b01 Move _bulk_body to client.utils 2020-01-19 00:01:36 +00:00
Honza Král 80da0a5960 Some rest-api-spec definitions are non ascii 2019-12-22 20:50:17 +01:00
Honza Král 77f084dc0d Move templates to files 2019-12-22 16:32:49 +01:00
Honza Král 869c35f551 Fixed generator, passing tests 2019-12-22 16:32:49 +01:00
Honza Král ffe00d0c38 Generated API 2019-12-22 16:32:49 +01:00
Honza Král d8d1b4b0fa Flatten namespaces, keep xpack access as failover 2019-12-22 16:32:49 +01:00
Francesco VigliaturoandGitHub d2a0cc62eb fix host arg docs in the Elasticsearch class (#1069)
* updated the __init__ docs of the Elasticsearch class to reflect the fact that is possible to pass a string representing the URL of the host we want to connect to and not necessarily a list of hosts

* adds space between as and kwargs in Elasticsearch __init__ doc
2019-12-16 14:36:34 +01:00
Honza Král ba234dcf03 Allow access to xpack methods without .xpack 2019-10-30 18:27:46 +01:00
XiaodongandGitHub 5f18f216bd Fix issue caused by breaking change (_source_include/_source_exclude) 2019-09-20 16:36:09 +08:00
Honza Král 5c0cbc76b1 leftover square brackets 2019-08-21 17:47:23 +02:00
Honza Král a98fa8ba9f Allow the use of scroll_id
Reverts breaking change in 8e92b85
2019-08-21 15:58:27 +02:00
David SandersandNick Lang 9f4baacb70 Fix typo in docstring (#956) 2019-05-17 10:53:03 -04:00
Nick LangandGitHub 8e92b857bc Update ES client API's for some missing 7 features (#949)
* Update cat.py to have correct query params

* Add missing api remote_info and missing params

* a couple apis have had added query params

* Add Split api and add missing query params

* Adding processor_grok api

* Adding missing apis:
* update by query rethrottle
* scripts painless execute
* scripts painless context
* rank eval

* delete by query rethrottle

* add missing query params

* Add missing xpack apis

* Update helpers to account for 7.x scroll api
2019-05-10 16:41:50 -06:00
Andrés PortilloandNick Lang dd72153a71 Add ignore_throttled to query_params for search (#928) 2019-04-25 16:11:16 -06:00
Adam JohnsonandNick Lang cf1e946323 Document that 'index' may also be a list of strings for most methods (#921)
I discovered whilst researching https://github.com/scoutapp/scout_apm_python/issues/150 that the index parameter for all methods also supports a list of strings, but this isn't documented here. For example `elasticsearch-dsl-py` [always passes a list of strings](https://github.com/elastic/elasticsearch-dsl-py/blob/master/elasticsearch_dsl/search.py#L100).

It's [`_make_path`](https://github.com/elastic/elasticsearch-py/blob/master/elasticsearch/client/utils.py#L44) that allows this to happen.

This updates the relevant methods' documentation to indicate that it is supported.
2019-03-29 13:33:03 -06:00
Nick LangandGitHub 1afceba69b update to ES 7 (#911)
* update to ES 7

* more updates to make tests run

* update the test matrix

* remove python 3.3

* update xpack apis

* relative imports
2019-03-29 09:25:23 -06:00
Alvaro Olmedo RodriguezandNick Lang 51ad5d3617 ssl_show_warn option added (#913)
* ssl_show_warn option added

* Typo fixed
2019-03-28 13:20:16 -06:00
Dmitri VasilishinandNick Lang 3f2b1b925a Add support for allow_partial_search_results search request parameter (#821) 2018-07-16 11:59:51 -06:00
Nick Lang 52006f4562 clean up docs, closes #800 2018-06-25 12:07:18 -06:00
Dmitry VasilishinandNick Lang cab17fd449 Remove put_template and get_template endpoints (#803)
In ES 6.0 the search template system has changed over to stored scripts.
2018-06-25 12:02:25 -06:00
wangxiaoleiandNick Lang 408093440c Support terminate_after for count api. (#754) 2018-04-09 10:30:09 -06:00
Nick LangandGitHub 4fda104d6e Adding X-Pack clients to -py repo (#748) 2018-03-20 12:36:13 -06:00
Jai SharmaandNick Lang b5595d0fe3 Adding documentation for passing custom serializer (#747)
Adding custom serializer documentation on index page as well
2018-03-15 15:35:20 -06:00
SlamandHonza Král 64202273e0 adds dynamic class-based repr (#713) 2018-01-24 15:21:29 +01:00
MatthieuandHonza Král 83a26ec78a fix python 3.5/6 warnings: [...]/elasticsearch/client/__init__.py:884: DeprecationWarning: invalid escape sequence \_ (#665)
https://bugs.python.org/issue27364
2018-01-01 16:07:22 +01:00
Marco CovaandMarco Cova 7599a248ca fix typo in comment (minor) 2017-12-04 15:07:48 +00:00
Joshua Carp 3045516738 Clean up custom headers. 2017-10-04 16:07:55 -04:00