Commit Graph

783 Commits

Author SHA1 Message Date
Honza Král cd8aaf2c5e 5.0 compatibility 2016-10-17 13:57:10 +02:00
Will McGinnis ca2dd242c4 optionally don't explicitly delete scrolls in helper (#454) 2016-10-11 15:00:59 +02:00
Patrick Mézard 6a88ec6eaa Fix documentation "Snapshot" index link (#419) 2016-10-10 15:02:02 +02:00
Honza Král d4efb81b06 Propagate request_timeout to scroll calls
Fixes #434
2016-08-29 15:46:46 +02:00
Honza Král ef390c2888 added 2.4.0 changelog 2016-08-17 16:37:48 +02:00
Honza Král 87bf9866a4 Catch up to elasticsearch master 2016-08-16 21:23:14 +02:00
Honza Král c855adc6e6 None for parameter value should cause that param to be ignored
Fixes #375
2016-08-16 20:46:04 +02:00
Honza Král 10c013a067 stored_fields=_parent no longer needed with 5.0 2016-07-28 11:29:01 +02:00
Honza Král 515197a903 Don't try and decode an empty body 2016-07-28 11:26:55 +02:00
Honza Král 9cdcc5b4dd Adding new params for cluster.health and cluster.allocation_explain 2016-07-14 17:29:33 +02:00
Honza Král 99c91b7b5c Skip in yaml tests can have multiple values 2016-07-14 17:29:16 +02:00
Honza Král fb8b55284a Do not use weakref to refer to client 2016-07-12 22:46:15 +02:00
Honza Král 7bdaa317ed adding the headers feature for our yaml test runner 2016-07-12 22:45:27 +02:00
Honza Král 311ac7c814 Allow specifying custom http headers 2016-07-12 18:13:48 +02:00
Honza Král ac74778037 Allow test client to be created with kwargs 2016-07-12 18:02:46 +02:00
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