Commit Graph

954 Commits

Author SHA1 Message Date
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
Matthieu 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
Fabrice Bacchella 8c13060c87 ImproperlyConfigured is imported but not used in transport. (#693) 2018-01-01 15:54:39 +01:00
Fabrice Bacchella 920218db83 Transport.perform_request mutate headers. (#694) 2018-01-01 15:54:09 +01:00
Honza Král a023bddb4d Use provided request headers in urllib3
outside. However, `Urllib3HttpConnection` did not use these headers but
only its default ones.

With this commit, `Urllib3HttpConnection` will either use the default
ones or merge the default headers with the provided ones if there are
any.

Relates #618
2018-01-01 15:42:46 +01:00
Nick Lang 2dce4c0720 Merge pull request #690 from fxdgear/nick/update_docs
Updating Docs to reference SSL Context
2017-12-28 14:42:12 -07:00
Nick Lang 50f89e4d47 moving import 2017-12-28 13:12:04 -07:00
Nick Lang 456e598c5b moving import 2017-12-28 13:09:16 -07:00
Nick Lang 415b3e7dc7 more docs updates 2017-12-28 12:37:59 -07:00
Nick Lang e74457866d updating the docs some more examples 2017-12-28 12:08:55 -07:00
Nick Lang 190e4fdc9a Merge pull request #689 from elastic/nick/ssl_bugs
Updates to SSL Context changes
2017-12-27 20:49:39 -07:00
Nick Lang bf1d64e88d Updates to SSL Context changes,
Bug with OSX made breaking changes to the way certifi was being imported
and used.

Unable to reproduce with Linux.

Found improper logic. Fixed now.
Also changing removing the flag for checking `verify_certs` as
it is `True` by default. Don't want to make users flag that as
`False` just to make things work.

A connection to an SSL instance should be:

    es = Elasticsearch("https://host:port", http_auth=(user,pass))

* If using Elastic Cloud or some other publicly recognized certificate
  that certifi can recognize.
2017-12-27 20:26:23 -07:00
Fabrice Bacchella 966f689545 A connection should be marked live with HEAD too. (#688) 2017-12-27 15:02:30 -05:00
Nick Lang 017dcf1d13 Merge pull request #676 from marcocova/fix-typo-in-elasticsearch-client
fix typo in comment (minor)
2017-12-04 13:01:19 -07:00
Marco Cova 7599a248ca fix typo in comment (minor) 2017-12-04 15:07:48 +00:00
Nick Lang e4967a7c76 Merge pull request #672 from magical/patch-1
Fix typo in docs
2017-11-28 16:56:53 -07:00
Nick Lang 37490e223f When _just_ using an SSL context we don't want breaking behavior (#673)
Also don't want to break backwards compat. So when chcking for depreicated values ignore
the check on verify_certs. Since it's True. the verify certs will be default true
in the ssl_context. And can be turned off in the SSL context when using it.
2017-11-28 22:01:20 +01:00
Nick Lang 2a96ce14f1 Merge pull request #671 from konradkonrad/patch-2
docstring typo fixes
2017-11-28 12:33:04 -07:00
Andrew Ekstedt b9eafd41c6 Fix typo in docs
it's => its
2017-11-28 10:12:14 -08:00
konradkonrad 9b288a1e92 docstring typo fixes
cheers
2017-11-16 17:07:57 +01:00
Honza Král f639f9b28e Apply cafile defaults before checking for emptiness
Fixes #669
2017-11-14 19:20:15 +01:00
Honza Král d9fa510fa6 Bump version to 6.1.0-dev 2017-11-14 15:27:59 +01:00
Honza Král ad4f83f592 Bump travis to test 6.0.0 GA 2017-11-14 15:14:47 +01:00
Honza Král 4e6a05f614 Added scroll_kwargs to scan helper 2017-11-10 21:43:16 +01:00
Honza Král a1dc43192b forgot raw -> keyword in example 2017-11-10 15:35:39 +01:00
Honza Král 7f5a9f8cec Update example to work with elasticsearch 6.0 2017-11-10 15:18:50 +01:00
Honza Král 97491388d7 Update docs to reflect version changes 2017-11-10 15:18:19 +01:00