Commit Graph
100 Commits
Author SHA1 Message Date
Honza Král a96f5f7284 Sending raw text as body is no longer supported, wrap scroll_id 2017-02-08 20:51:13 +01:00
Honza Král d862c8a799 Add content-type default headers with application/json 2017-02-08 20:50:50 +01:00
Honza Král f38fa51fea When user is passing params we need to make a copy
Fixes #517
2017-01-17 03:10:50 +01:00
Honza Král 5ecfc70a16 bunp version to 5.1.0 for release 2017-01-11 15:45:55 +01:00
Honza Král 0bf58d7717 Updated API 2017-01-11 15:42:33 +01:00
Honza Král a870b4bf40 test es 5.1.1 2017-01-11 14:26:56 +01:00
Honza Král 8107bbcf93 update headers in lowercase to allow overriding of auth headers 2017-01-03 15:07:28 +01:00
Honza Král 75bc46f506 add unauthorized catch code for common test runner 2017-01-03 15:07:28 +01:00
Honza Král b9ba12977f Refactored connection error handling 2016-12-15 16:46:05 +11:00
Honza Král c2fc5aa18c Be more explicit with stats_only behavior 2016-12-15 10:21:38 +11:00
Honza Král ef3820c4fe use text/keyword instead of string in load example 2016-12-12 14:10:06 +11:00
Honza Král 4812980479 Merge PR #497, thanks veatch! 2016-12-06 12:33:35 +01:00
Honza Král fe53ab588e Fix sniffing for 5.0
Fixes #477
2016-12-06 12:17:57 +01:00
Honza Král 1780214a19 explain localhost:9200 in the trace log 2016-11-13 05:52:59 +01:00
Honza Král 29ce4bd413 Adding 5.0.1 to changelog 2016-11-02 19:53:14 +01:00
Honza Král 5fe3b4baf8 Scan bug that caused the scan to be sorted 2016-11-02 19:29:41 +01:00
Honza Král 9c2af0f77c Version bump for development version 2016-10-19 16:33:14 +02:00
Honza Král ae0073c8ca Version bump for 5.0 release 2016-10-19 16:22:48 +02:00
Honza Král 8b96556769 Change the trace logger to also include failed requests 2016-10-19 15:28:31 +02:00
Honza Král a2cd22dbf6 New create API for 5.0 2016-10-19 03:01:27 +02:00
Honza Král bf561fb856 Fix maxsize parameter description.
Fixes #414 Thanks theanti9!
2016-10-17 17:27:33 +02:00
Honza Král 8314f7b25c Set verify_certs default to True
If certifi is installed use it as default for ca_certs value
Closes #403
2016-10-17 14:16:56 +02:00
Honza Král aa3a7431ff Add note about reindex API to the reindex helper 2016-10-17 14:01:52 +02:00
Honza Král cd8aaf2c5e 5.0 compatibility 2016-10-17 13:57:10 +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
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
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
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
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
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
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
Honza Král 90f18fa132 better formatting of keywords 2016-02-09 13:51:53 +05:30
Honza Král 271376f850 Adding Darryl to AUTHORS, thanks! 2016-02-01 09:33:06 +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
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
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
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
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
Honza Král efc1156bd5 add description of the basic params for Urllib3HttpConnection 2015-11-19 11:10:07 -06:00
Honza Král 24b4885240 dev version bump 2015-11-10 16:18:44 +09:00
Honza Král af412210f7 Adding Chris to AUTHORS 2015-11-10 16:18:22 +09:00
Honza Král ade841a680 Better exception representation 2015-11-04 19:21:29 +01:00
Honza Král da1a8b92c9 Make sure example works with Elasticsearch 2.0
Fixes #300
2015-11-04 18:13:31 +01:00
Honza Král 328bdb73bc Longer timeout for the test client to fix travis CI 2015-11-02 16:01:48 +01:00
Honza Král 0e4b68c1aa README typo 2015-11-02 15:37:55 +01:00
Honza Král 52eda45d8f Expanding on the dsl mentions 2015-11-02 15:35:36 +01:00
Honza Král 8c79ec3dc2 Expand on the DSL 2015-11-02 15:23:08 +01:00
Honza Král 1b60d9bf84 iElasticsearch 2.0 exposes just host:port in nodes.info
Fixes #293
2015-11-02 14:26:28 +01:00
Honza Král 5e97002f28 Fix documentation for the query param of the scan helper
Thanks apandita for the report!
2015-10-23 15:21:28 +02:00
Honza Král 9d21d1686d Merge pull request #288 from drthornt/timeout_v_timestamp
fixed slight typo in documentation of timeout in put_alias and delete_alias
2015-10-22 17:25:13 +02:00
Honza Král 8536a35dd0 Version bump 2015-10-19 16:29:05 +02:00
Honza Král 7425d8e7ea Adding Emil and Dmitry to AUTHORS. Thank you! 2015-10-19 15:22:21 +02:00