Commit Graph
1051 Commits
Author SHA1 Message Date
Honza Král 6722bbff63 Make ping return false on any TransportError
Closes #388
2016-04-27 16:14:47 +02:00
Honza Král 418b93bfec Do not warn on 404s when using HEAD method
Fixes #396
2016-04-27 13:21:47 +02:00
Honza Král f8b090c7cc retry on 502, 503 and 504 responses from ES 2016-04-26 20:08:06 +02:00
Honza Král cc14efd5df Only do tracer logging if there are handlers
Fixes #391, thanks cp2587 for the report!
2016-04-09 18:12:33 +02:00
Honza Král 6e94bf76ad 5.0 compatibility 2016-03-22 21:04:07 +01:00
Honza Král b10ae7c891 Merge branch 'async' 2016-03-22 17:51:17 +01:00
Honza Král 359cb9736e Merge pull request #379 from eskibars/master
Updated the wording on the AWS section
2016-03-15 18:15:30 +01:00
Shane Connelly e7a5cbb148 Updated the wording on the AWS section 2016-03-15 10:06:09 -07:00
Honza Král c51b8fdeef Refactored sniff_hosts for easier implementation of AsyncTransport 2016-03-14 22:23:04 +01:00
Honza Král 64ff08b2ae Move HEAD handling to Transport 2016-03-10 19:06:20 +01:00
Honza Král 38bb0aafbd Have transport.perform_request only return data 2016-03-10 18:59:31 +01:00
Grégory StarckandHonza Král 879de7549e Fixed a bare except
AFAIK the only exception which can occur here is one that the json.loads(..) could raise. So (TypeError or) ValueError.

So except on that. and also log a warning in such case.

bare excepts are 99.99% of the time simply bad/wrong. It's the case here.
2016-03-04 15:21:41 +01:00
Honza Král 15e21e10fd Merge remote-tracking branch 'pr/367' 2016-03-04 15:20:16 +01:00
Honza Král fb07d148ca Added Will to AUTHORS, thanks! 2016-03-04 14:42:55 +01:00
Will McGinnis b0d3de0ada requested changes. 2016-03-03 19:50:17 -05:00
Will McGinnis 8a18e4c743 added close methods to everything below transport 2016-03-03 19:31:31 -05:00
Honza Král 4de7835d32 Use the copy we made for this thread, otherwise not thread safe
Fixes #371
2016-03-03 17:47:04 +01:00
aramesh 78030e4bc5 Minor spelling, sentence correction 2016-03-01 10:55:21 -05:00
Honza Král 1c7b23e214 version bump to 2.3.0 2016-02-29 22:44:24 +01:00
Honza Král 5dfd6985e5 Only pass in cert to request.session if client_cert specified 2016-02-29 22:39:58 +01:00
Rich MegginsonandHonza Král fe6e9a7f5c Urllib3HttpConnection should have separate client_cert and client_key arguments #344
https://github.com/elastic/elasticsearch-py/issues/344
Add a client_key parameter to complement the client_cert parameter.  If
client_key is used, it is assumed that client_cert will contain only the
certificate, not the combined cert and key in a single file.

Closes #344
2016-02-29 22:35:40 +01:00
Honza Král 90f18fa132 better formatting of keywords 2016-02-09 13:51:53 +05:30
Garrett-R 4ed675aa3c Add docs for filter_path global parameter 2016-02-09 00:07:28 -08:00
Honza Král 271376f850 Adding Darryl to AUTHORS, thanks! 2016-02-01 09:33:06 +01:00
Darryl RingandHonza Král a9b8f86547 Log response body for failed requests
Addresses #346
2016-02-01 09:32:43 +01:00
Jason VeatchandHonza Král 0f7517a7dd more explicit line on client and multiprocessing 2016-01-20 21:51:00 +01:00
Honza Král 38d45b07f4 Adding a warning on unicode data changed in 2.2
Closes #334
2016-01-19 16:34:05 +01:00
Honza Král 8342e0efb1 map already returns an iterator, no need to wrap it in iter
Thanks to andreip for pointing it out!
2016-01-15 14:15:53 +01:00
Honza Král 99c284d015 Fixing more typos. Thanks density!
ref #333
2016-01-12 11:33:03 +01:00
Honza Král 0f4fa3c97f Fixing typo in max_chunk_bytes
Fixes #333 Thanks kengruven
2016-01-07 20:35:27 +01:00
Honza Král 8f25f379a2 Updated docs and highlighted thread safety and maxsize
Closes #329
2016-01-06 12:09:14 +01:00
Honza Král 51defea8c9 Version bump 2016-01-05 12:01:57 +01:00
Kiseok KimandHonza Král 647461fd56 Update index.rst
Fix typo.
2015-12-31 16:24:55 -05:00
Honza Král a7a56b1abd Added docs about AWS using IAM 2015-12-27 16:11:15 -05:00
Honza Král 6b579342a1 Adding Michael to AUTHORS, thanks! 2015-12-27 15:51:09 -05:00
Michael GibsonandHonza Král 70d6203625 Add bytes param to cat.shards and cat.segments 2015-12-27 15:50:48 -05:00
Honza Král ad9b5b6282 Fixed docs for from in search API
Fixes #318 Thanks ksindi!
2015-12-27 15:27:42 -05:00
Honza Král b62d950bb8 Make sure we always close the pool when doing parallel_bulk 2015-12-27 21:10:55 +01:00
Honza Král 74cb686538 Adding missing APIs 2015-12-27 21:10:51 +01:00
Honza Král c305dc5587 Don't force ascii when serializing to json 2015-12-13 20:30:28 -08:00
Honza Král 92e2754d7c Adding Alexei to AUTHORS
Thanks!
2015-12-13 19:09:24 -08:00
Alexei PetersandHonza Král b792be3652 add the ability to serialize uuid types 2015-12-13 19:08:55 -08:00
Honza Král e23fb64b79 Merge pull request #315 from dvillega/bug/spelling-correction
Minor spelling corrections for documentation
2015-12-10 16:11:34 +01:00
Devin Villegas c39074279a Minor spelling corrections for documentation 2015-12-09 11:32:43 -06:00
Honza Král a63bad4e1d Provide more documentation on _get_sniff_data 2015-12-07 18:41:13 +01:00
Honza Král a5aa160b81 Factored out the ES communication when sniffing
This should help with #312
2015-12-07 18:26:00 +01:00
Honza Král fb8eb4e385 Respect publish host when present on a node.
Closes #251. Thanks danpilch and bowensong for the patch!
2015-12-01 03:40:40 +01:00
Honza Král e614601b9e Adding Tomas to AUTHORS, Thanks! 2015-11-25 23:58:34 +01:00
Tomas MozesandHonza Král 9415c74519 Renaming manpage to elasticsearch-py 2015-11-25 23:58:11 +01:00
Honza Král efc1156bd5 add description of the basic params for Urllib3HttpConnection 2015-11-19 11:10:07 -06:00