Commit Graph

980 Commits

Author SHA1 Message Date
Nick Lang 2619d0fae4 TransportError correctly reflects inherited class. Closes #806. (#810) 2018-06-25 11:44:14 -06:00
Nick Lang e0fb772bcc Bump version to 6.3.0 2018-06-20 11:55:11 -06:00
Nick Lang 4352e56174 fixing max urllib3, updating authors 2018-06-19 12:55:48 -06:00
Nick Lang 7751fede5a add wait on delay (#794) 2018-05-18 14:30:31 -06:00
Nick Lang 206e0d609c handle gzip for python27. Fixes #789 (#793) 2018-05-18 13:52:37 -06:00
Honza Král 15a4d7e2cc Removing my email from .travis.yml 2018-05-16 12:40:49 -04:00
Nick Lang 9fe0763670 Merge branch 'master' of github.com:elastic/elasticsearch-py 2018-05-08 00:25:21 -06:00
Nick Lang 0252c2c652 Increase minimum requests version closes #784 2018-05-08 00:20:46 -06:00
Ilya Radinsky 4dc4ba18ad Fixes double creation of urllib3.HTTPSConnectionPool when ssl_context and use_ssl are used (#780) 2018-05-01 13:54:17 -06:00
Nick Lang f77263e3bd adding support for wait_for_no_initializing_shards in health method (#777) 2018-04-24 13:13:41 -06:00
Milly cd871244e0 TransportError not raised in helpers.streaming_bulk() with max_retries. (#775)
* Add test to raise `TransportError` in `helpers.streaming_bulk()` with `max_retries`.

* Re-raise `TransportError` if the last retry fails.
2018-04-24 11:35:54 -06:00
hari 0aac8c9dff Update index.rst (#771) 2018-04-24 11:33:29 -06:00
Hendrik Muhs c505e53f6a add forecast API to X-Pack, ML client (#772) 2018-04-20 14:13:06 -06:00
Nick Lang 9721e4bc92 Nick/query params bulk helper (#774)
* cleanup doc strings closes #766

* adding *args to bulk helpers so values such as timeout can be passed in. Closes #773
2018-04-20 13:11:37 -06:00
Daniel Chimeno 5ecc1bd209 Update connection.rst (#768)
Changed parameter name
2018-04-12 12:20:03 -06:00
wangxiaolei 408093440c Support terminate_after for count api. (#754) 2018-04-09 10:30:09 -06:00
Nick Lang c4a0a54006 Adding X-Pack api docs, closes #760 2018-04-02 11:44:47 -06:00
Sumit Kumar 52c387abf7 correct field name for routing (#758)
`_routing` is correct field name for `routing` in every bulk item action
2018-03-30 13:41:53 -06:00
Nick Lang a9232fced7 adding extra for requests closes #753 2018-03-30 10:40:28 -06:00
Nick Lang d46bbdf124 Bump to 6.2.0 2018-03-20 13:41:15 -05:00
Nick Lang 4fda104d6e Adding X-Pack clients to -py repo (#748) 2018-03-20 12:36:13 -06:00
Jai Sharma 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
Nick Lang 7ca0b86dae update change log 2018-03-13 10:36:56 -06:00
robgil 64c125d34c Adding GZip support to urllib3 (#704)
* Adding GZip support to urllib3

* Adding compression documentation and example

* Convert to lowercase for consistency

* Moving header manipulation to __init__()

* Validating headers for compression

* Moving body compression out of the headers block

* Don't compress if there is no body

* Infer true
2018-03-13 10:34:25 -06:00
michaelboulton c3544296ef Use string.partition rather than string.split for mimetype (#731) 2018-03-04 15:22:23 -08:00
Nick Lang 603cc9cd17 update docs and bunp changelog 2018-03-04 15:18:25 -08:00
ume 4e95fe320d Support renamed routing bulk parameter (#735) 2018-03-04 15:13:52 -08:00
Nick Lang 058d38f0ae Use use ssl_context or don't but don't mix (#714)
* Use original SSL process and add SSLContext

Not going to deprecate and replace with SSLContext.
But instead give option for using SSLContext next to the original way of
handling SSL.
2018-03-04 15:09:40 -08:00
Nick Lang 4438ea75a1 Merge pull request #727 from msukmanowsky/master
Use proper retry_on_conflict for helpers.expand_action
2018-02-14 10:46:33 -07:00
Mike Sukmanowsky 197ad82e18 Use proper retry_on_conflict for helpers.expand_action
As per
https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html#bulk-update,
retry_on_conflict should not be preceeded by an underscore.
2018-02-13 12:06:29 -05:00
Nick Lang f8dbb1168d Merge pull request #723 from fxdgear/nick/better_start_es_script
better bash script to allow start from anywhere. closes #721
2018-02-03 13:29:09 -07:00
Nick Lang 94ebf85404 better bash script to allow start from anywhere. closes #721 2018-02-03 12:20:26 -08:00
Nick Lang 08e0bbecc5 Merge pull request #722 from fxdgear/nick/default_es_image_tag
Set default ES image since latest isn't avail, closes #720
2018-02-03 12:59:21 -07:00
Nick Lang 4fce845daf Set default ES image since latest isn't avail, closes #720 2018-02-03 11:57:33 -08:00
Slam 64202273e0 adds dynamic class-based repr (#713) 2018-01-24 15:21:29 +01:00
Honza Král eaa67a100d use_ssl flag is set by Connection
This wasn't an issue before as scheme=https was not documented but now
it is in the docs and it makes this entire block be skipped if url is
given without scheme and no ssl_context is passed completely breaking
ssl
2018-01-18 16:12:07 +01:00
Honza Král 57ec404ba3 Accurate description of TransportError.info
Fixes #710, thank you, @fbacchella, for the report!
2018-01-12 17:35:07 +01:00
Nick Lang 1cae2b7eb0 Merge pull request #695 from fbacchella/explicitly_typo
Typo in a comment.
2018-01-10 13:59:18 -07:00
Nick Lang d5da2ba3e8 Merge pull request #709 from fxdgear/nick/fix_for_6.1.1
Skipping/Unskipping tests
2018-01-10 13:58:13 -07:00
Nick Lang 0d1d57a750 bump version travis uses for test 2018-01-10 13:50:49 -07:00
Nick Lang 021a31ca42 Merge pull request #708 from fxdgear/nick/update_docker_script
Elastic now supports oss Docker Images
2018-01-10 13:41:02 -07:00
Nick Lang c4ce9af767 Skipping/Unskipping tests
Some tests need to be skipped till changes occur in elastic/elasticsarch
Also some previously skipped tests can be unskipped now.
2018-01-10 13:40:17 -07:00
Nick Lang e620165761 Elastic now supports -oss Docker Images
No need to use my personal docker iamges, now that Elastic creates oss docker images
2018-01-10 11:41:08 -07:00
Nick Lang 676e32809b Merge pull request #699 from ao/patch-1
Issue: 696 - crate should be corrected to create
2018-01-09 11:44:36 -07:00
Nick Lang 0ee964ede2 update changelog 2018-01-05 20:00:40 -07:00
Nick Lang ef08323d22 Bump to version 6.1.1 2018-01-05 19:51:20 -07:00
Andrew Odendaal 90972e3983 Update transport.py 2018-01-05 13:50:52 +00:00
Andrew Odendaal 3fd2c1a29d Issue: 696
`crate should be corrected to create.` as per https://github.com/elastic/elasticsearch-py/issues/696
2018-01-05 13:43:21 +00:00
Fabrice Bacchella b4a66c60a3 Typo in a comment. 2018-01-01 17:35:26 +01:00
Illia Volochii 43ddb3d56b Dump as minified JSON as possible in its serializer (#658) 2018-01-01 16:08:38 +01:00