Commit Graph

1072 Commits

Author SHA1 Message Date
epiphyte 5c3ff5a718 Add a unit test 2019-10-30 18:40:06 +01:00
epiphyte 71840d315a Support http.publish_host addresses 2019-10-30 18:40:06 +01:00
Maciej Urbanski 4353aa2ba2 declare python 3.7 support 2019-10-30 18:35:38 +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
Honza Král f8b8431411 Dropping 2.6 from travis 2019-10-30 15:41:17 +01:00
Honza Král 462c5d9d27 switch travis to using docker 2019-10-30 15:37:49 +01:00
Honza Král 0dcd2b52d8 Bring back travis 2019-10-30 15:37:49 +01:00
Alex Kahan 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 Krauss 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 Krauss c4bc2e420d API key Authentication (#1010) 2019-09-20 14:01:31 +01:00
Xiaodong 5f18f216bd Fix issue caused by breaking change (_source_include/_source_exclude) 2019-09-20 16:36:09 +08:00
Philip Krauss dd206ad5c5 Merge pull request #1018 from XD-DENG/patch-1
Fix docstring typos in /elasticsearch/transport.py
2019-09-19 10:28:03 +02:00
Xiaodong 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
Philip Krauss 243e214a35 Merge pull request #1011 from bichitra95/hotfix/client_index_creat_query_params
fix error due to missing comma in between timeout and request_timeout…
2019-09-17 13:18:49 +02: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
Philip Krauss 4312d9af5e Merge pull request #998 from philkra/doc-examples
Documentation Examples
2019-08-22 09:45:56 +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 d936ba3eb4 Do a git fetch instead of pull 2019-08-21 17:39:28 +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 Krauss 1395ef97ca corrected asciidoc language identifier 2019-08-21 10:23:30 +02:00
Philip Krauss 06af6db247 doc examples for index, del, get & getting started 2019-08-20 14:53:22 +02:00
Philip Krauss 28920b5d59 Ensure a custom User-Agent header is not overwritten (#992) 2019-08-12 14:20:10 +02:00
Philip Krauss 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
Camilla a37a9f39da Merge pull request #973 from jtyoung/scroll-id-body
Pass scroll and scroll_id in the request body instead of as query params in scan
2019-07-16 22:47:14 +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 f0f3665e18 update the docs for 7 2019-06-19 10:18:53 +02:00
Richard Smith 2efba7e18a Update helpers.rst (#965) 2019-05-31 08:25:03 -06:00
Nick Lang a29ea990a7 Bump version to 7.0.2 2019-05-28 11:33:06 -06:00
Nick Lang 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 Lang 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
Nick Lang e1968ed95a Update the docs for compression. Closes #955 2019-05-17 13:33:51 -04:00
David Sanders 9f4baacb70 Fix typo in docstring (#956) 2019-05-17 10:53:03 -04:00
svalee 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
Nick Lang 8ab66b9bde update example directory to work with Es 7 2019-05-11 09:41:48 -06:00
Nick Lang c4f0454285 Bump to version 7.0.1 2019-05-10 16:51:51 -06:00
Nick Lang 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
Nick Lang 206f5e2754 Black (#948) 2019-05-10 09:16:33 -06:00
Nick Lang 01e62965a1 update test matrix 2019-05-09 16:39:18 -06:00
Jubin Soni 2aab285c8f Fixed illegal argument exception in indices.py as request_timeout is expected instead of timeout. (#937)
The `timeout` parameter in docstring is misleading for following methods in elasticsearch.client.indices.py, renamed this param in query_params decorator and docstring to `request_timeout`:

1. create
2. open
3. close
4. delete
5. put_mapping
6. put_alias
7. update_aliases
8. delete_alias
9. put_template
10. delete_template
11. shrink
12. rollover
2019-04-29 14:45:59 -06:00
Nick Lang 45db46c855 upgrade start_elasticsearch to use 7.0.0 2019-04-26 12:05:30 -06:00