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
Illia Volochii and Honza Král
43ddb3d56b
Dump as minified JSON as possible in its serializer ( #658 )
2018-01-01 16:08:38 +01:00
Matthieu and Honza 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
Fabrice Bacchella and Honza Král
8c13060c87
ImproperlyConfigured is imported but not used in transport. ( #693 )
2018-01-01 15:54:39 +01:00
Fabrice Bacchella and Honza Král
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 and GitHub
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 and GitHub
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 and Honza Král
966f689545
A connection should be marked live with HEAD too. ( #688 )
2017-12-27 15:02:30 -05:00
Nick Lang and GitHub
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 and Marco Cova
7599a248ca
fix typo in comment (minor)
2017-12-04 15:07:48 +00:00
Nick Lang and GitHub
e4967a7c76
Merge pull request #672 from magical/patch-1
...
Fix typo in docs
2017-11-28 16:56:53 -07:00
Nick Lang and Honza Král
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 and GitHub
2a96ce14f1
Merge pull request #671 from konradkonrad/patch-2
...
docstring typo fixes
2017-11-28 12:33:04 -07:00
Andrew Ekstedt and GitHub
b9eafd41c6
Fix typo in docs
...
it's => its
2017-11-28 10:12:14 -08:00
konradkonrad and GitHub
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
Honza Král
562c8c6146
Bump master to 6.0.0
2017-11-10 14:38:08 +01:00
Honza Král
ae632f2288
Adding 5.5.0 changelog
2017-11-10 14:37:03 +01:00
Honza Král
92763522a9
Check successful shards instead of failed
...
Fixes #660 , thanks @juke1
2017-11-09 20:35:53 +01:00
Nick Lang and GitHub
32239539f9
Merge pull request #662 from nfsec/patch-2
...
Unrecognized parameter: wait_for_merge
2017-11-07 10:13:25 -07:00
Patryk Krawaczyński and GitHub
b79364f0b8
Unrecognized parameter: wait_for_merge
...
```
curl -XPOST 'http://es:9200/index/_forcemerge?flush=true&wait_for_merge=true&ignore_unavailable=true&max_num_segments=1 '
{"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"request [/lindex/_forcemerge] contains unrecognized parameter: [wait_for_merge]"}],"type":"illegal_argument_exception","reason":"request [/index/_forcemerge] contains unrecognized parameter: [wait_for_merge]"},"status":400}
```
2017-11-03 14:57:56 +01:00
Patryk Krawaczyński and Honza Král
961f6b54b3
Update tasks API ( #659 )
...
* Update cat.py
* Update tasks.py
2017-10-26 14:51:37 +02:00
Honza Král
40b0a68b82
Add repository to commit documents
2017-10-26 14:36:50 +02:00
Glen Smith and Honza Král
cfec19afd8
Add bytes param to cat.shards and cat.segments ( #654 )
2017-10-11 22:16:50 +02:00
Nick Lang and GitHub
a3a52af081
Merge pull request #652 from brunobell/master
...
fix: AttributeError: 'bytes' object has no attribute 'encode'(PY3)
2017-10-09 17:41:05 -06:00
broono
12be146e45
Fix: AttributeError: 'bytes' object has no attribute 'encode'(PY3)
2017-10-09 13:47:36 +08:00
Nick Lang and GitHub
5c537deca4
Merge pull request #635 from fxdgear/nick/ssl_context
...
Nick/ssl context
2017-10-06 11:35:23 -06:00
Nick Lang
7339a272b5
Add SSL context for versions of Python that support SSL Context.
...
Instead of passing parameters manually, you can construct an SSL
context. This allows for greater flexibility in using self signed certs.
2017-10-06 11:27:15 -06:00
Nick Lang and GitHub
9790b85088
Merge pull request #636 from elastic/urllib_1.23
...
bump max compatible version of urllib3 to <1.23
2017-10-05 16:26:02 -06:00
Glen Smith
798788e741
bump max compatible version of urllib3 to <1.23
2017-10-05 16:03:46 -06:00
Nick Lang and GitHub
a03504cbb2
Merge pull request #618 from jmcarp/issue-609-x-ndjson
...
Set application/x-ndjson content type on bulk requests.
2017-10-04 14:22:11 -06:00
Joshua Carp
3045516738
Clean up custom headers.
2017-10-04 16:07:55 -04:00
Joshua Carp
073db90ae8
Set application/x-ndjson content type on bulk requests.
...
Resolves #609
2017-10-04 16:07:55 -04:00
Nick Lang and GitHub
0397527d12
Merge pull request #637 from jmcarp/fix-travis-target
...
Fix travis link in build status.
2017-10-04 13:48:09 -06:00
Nick Lang and GitHub
e04c905134
Merge pull request #647 from fxdgear/nick/fix_test_children_are_reindex_correctly
...
Use version 6.0.0
2017-10-04 09:12:37 -06:00
Nick Lang
24e5564f37
using 6.0.0-beta2 for travis
2017-09-07 09:27:06 -05:00
Nick Lang
71222abeff
somewhere somehow a non ascii char got in these doc strings
2017-09-06 23:23:29 -05:00