Commit Graph
709 Commits
Author SHA1 Message Date
Honza Král 415f744b01 Move _bulk_body to client.utils 2020-01-19 00:01:36 +00:00
Francesco VigliaturoandHonza Král 6c5ff986fe adds python client support for 7.5 2020-01-09 16:16:01 +00:00
marshallmainandGitHub cb13d26968 Merge pull request #1062 from thomasthiebaud/fix-issue-1020
Support both deprecated and new bulk parameters
2020-01-03 12:05:17 -05: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 cc461fdc3c Disable urllib3 warningns if not ssl_show_warn 2019-12-12 23:43:16 +01:00
Alvaro OlmedoandHonza Král c3fd04b5db Disable InsecureRequestWarning from urllib3's connectionpool with ssl_show_warn option 2019-12-12 22:25:49 +01:00
Thomas Thiebaud 321561f4c3 Support both deprecated and new bulk parameters
Fixes #1020
2019-11-21 17:41:21 +01:00
Luca WintergerstandHonza Král 35afe32a6d fix typo in transport docs 2019-11-21 10:38:43 -06:00
Honza Král 07fef33acc Version bump to 7.1.0 2019-11-14 09:17:45 +01:00
Ian DanforthandHonza Král 1bb8f50f58 Align order of arguments to put_mapping() in docs with code 2019-11-08 17:42:29 -05:00
XiaodongandHonza Král 4bdac2a0b1 Minor Correction in exceptions.py 2019-11-08 17:25:47 -05:00
Patryk KrawaczyńskiandHonza Král 39ada119fe HTTP 405 when node_id is defined
_make_path encodes "/" - so the request looks like: GET /_cluster%2Fstats%2Fnodes/node_id and elastic returns a 405 error.
2019-11-08 17:20:28 -05:00
Chris BennightandHonza Král 8f5c60f333 Proper import in Python2.x 2019-11-06 17:02:02 +01:00
Chris BandHonza Král f1df7ae604 Fix for 7.4 encoding change 2019-11-06 17:02:02 +01:00
Alex KahanandHonza Král 1438d66045 Removing request_timeout from function doc strings 2019-11-05 22:19:17 +01:00
Alex KahanandHonza Král 07314a1cc7 Removes request_timeout params from indices handler 2019-11-05 22:19:17 +01:00
Honza Král 8542410c3c merge indices and xpack.indices 2019-10-30 19:06:39 +01:00
epiphyteandHonza Král 71840d315a Support http.publish_host addresses 2019-10-30 18:40:06 +01:00
Honza Král ba234dcf03 Allow access to xpack methods without .xpack 2019-10-30 18:27:46 +01:00
Honza Král 7785dd150d Adding indices.clone 2019-10-30 18:08:31 +01:00
Alex KahanandHonza Král a2e9f0c807 Closes #1044. Fixing bug with mark_dead in connection pool 2019-10-29 17:01:47 +01:00
Honza Král fc78c992ef Take skipped shards as successful in scan helper 2019-10-04 11:46:48 +02:00
Honza Král a8c858718e Version bump 2019-10-01 22:23:45 +02:00
Honza Král 4c531c5cdb When turning of ssl verification, make sure it propagates to urllib3 2019-10-01 22:03:55 +02:00
Philip KraussandGitHub 9421f36ed5 Merge pull request #1019 from XD-DENG/patch-2
Fix issue caused by 7.x breaking change (_source_include/_source_exclude)
2019-09-26 15:50:35 +02:00
Philip KraussandHonza Král c4bc2e420d API key Authentication (#1010) 2019-09-20 14:01:31 +01:00
XiaodongandGitHub 5f18f216bd Fix issue caused by breaking change (_source_include/_source_exclude) 2019-09-20 16:36:09 +08:00
XiaodongandGitHub a2a6d529ea Fix docstring typos in /elasticsearch/transport.py 2019-09-19 11:13:02 +08:00
Honza Král edb4de7382 Merge branch 'master' of github.com:elastic/elasticsearch-py 2019-09-17 23:04:16 +01:00
Bichitra 66428e5a1d moved request_timeout to a new line 2019-09-17 13:08:17 +05:30
Bichitra d3ffb321a6 fix error due to missing comma in between timeout and request_timeout in create method of client indices. 2019-09-07 23:05:00 +05:30
Honza Král 4244f88fc1 version bump for 7.0.4 2019-08-22 18:10:02 +02:00
Honza Král a40b7c73d7 version bump for 7.0.3 2019-08-21 17:53:23 +02: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
Philip KraussandHonza Král 28920b5d59 Ensure a custom User-Agent header is not overwritten (#992) 2019-08-12 14:20:10 +02:00
Philip KraussandNick Lang 100a2e623b Send User-Agent header identifying the Client (#991)
* send user agent header identifing the client

* no need to instantiate a new var

* add python version to user-agent
2019-08-08 08:50:11 -06:00
Honza Král 6dc6018a51 missing import 2019-07-28 00:02:31 +02:00
Honza Král 4b88e12a13 Do not sleep during the retry loop 2019-07-26 16:26:27 +02:00
John Young 916a744baf Pass scroll and scroll_id in the request body instead of as query params 2019-06-20 11:26:46 -04:00
Nick Lang a29ea990a7 Bump version to 7.0.2 2019-05-28 11:33:06 -06:00
Nick LangandGitHub a5d27e36a4 ml client has no method _bulk_body (#962)
* ml client has not method _bulk_body

Need to access the _bulk_body method from the client object

closes: #959

* update changelog too
2019-05-22 22:03:05 -05:00
Nick LangandGitHub 60d254860b Add support for using cloud_id when instantiating conections (#957)
* add cloud_id

* adding doc strings

* update changelog

* adding some tests to check for cloud_id

* update the read me
2019-05-21 21:21:34 -05:00
David SandersandNick Lang 9f4baacb70 Fix typo in docstring (#956) 2019-05-17 10:53:03 -04:00
svaleeandNick Lang b6fe0d424f Added equality check for Connection class (#938)
* Added equality check for Connection class

* ES: make connection hashable
2019-05-15 18:25:58 -04:00