Commit Graph

768 Commits

Author SHA1 Message Date
Honza Král ef41d893aa fields was renamed to stored_fields in elasticsearch 2016-07-12 17:52:50 +02:00
Honza Král bf1892b36a ignore 404 in tearDown when deleting indices 2016-07-12 17:35:31 +02:00
Honza Král 06e9a9851c Implement teardown functionality for yaml tests 2016-07-11 11:01:56 +02:00
Honza Král a53efe1705 Respect the transport_schema when constructing host 2016-06-28 16:44:58 +02:00
Honza Král a359c5fba2 Elasticsearch 5.0 APIs 2016-06-28 16:38:32 +02:00
Honza Král f28b634e17 simplify init code 2016-06-28 00:40:06 +02:00
Juri Hudolejev 9f2608c469 Fix HTTPS URL support (#411)
* Fix scheme for HTTPS URLs

For URLs like https://example.org scheme is currently set to 'http'.

* Revert "Fix scheme for HTTPS URLs"

This reverts commit 5dcee5bd2a8ce4453b495e637b283e7558718262.

* Fix HTTPS URL support
2016-06-20 13:08:36 +02:00
Honza Král 5e0627bcfe Attempting to force travis to java 8 2016-06-10 15:08:11 +02:00
Honza Král 3e1dd08a0a Fix travis CI for 5.0.0 SNAPSHOT 2016-06-10 15:01:50 +02:00
Honza Král a64fa04562 Adding the indices.shrink API 2016-06-10 14:55:40 +02:00
Honza Král b7cba71be6 Explain differences between urllib3 and requests backends
Fixes #402
2016-06-09 11:23:26 +02:00
Adam Chainz 40db4b6228 Convert readthedocs links for their .org -> .io migration for hosted projects (#413)
As per [their blog post of the 27th April](https://blog.readthedocs.com/securing-subdomains/) ‘Securing subdomains’:

> Starting today, Read the Docs will start hosting projects from subdomains on the domain readthedocs.io, instead of on readthedocs.org. This change addresses some security concerns around site cookies while hosting user generated data on the same domain as our dashboard.
2016-06-08 14:41:44 +02:00
Honza Král 1e2770fb5d Change default size for scan to 1000
Fixes #408
2016-06-03 15:07:09 -07:00
Honza Král e144a9d136 Pass scroll_id in the body to clear_scroll
Fixes #406, thanks danielmitterdorfer!
2016-05-19 16:45:40 +02:00
Honza Král 1ce17950e0 Make sure scan helper cleans up after itself
Closes #389
2016-05-17 15:14:27 +02:00
Honza Král 7c305f1bc3 Fixes for Elasticsearch 5.0 2016-05-17 14:12:39 +02:00
Honza Král b83df5e832 hasHandlers is only valid since python 3.2 2016-04-27 17:37:35 +02:00
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 Starck 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 Megginson 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 Ring a9b8f86547 Log response body for failed requests
Addresses #346
2016-02-01 09:32:43 +01:00
Jason Veatch 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 Kim 647461fd56 Update index.rst
Fix typo.
2015-12-31 16:24:55 -05:00