Commit Graph
543 Commits
Author SHA1 Message Date
Honza Král f638c3f625 bump version to 2.0 2017-02-12 16:26:02 +01:00
Glen Smith 1d3e7022b5 Merge pull request #532 from keith-pinto/fix_doc
fix ordering of arguments in documentation for client's get method
2017-02-11 10:54:26 -07:00
keith pinto 52f8fd86ac fix order of arguments in documentation for client's get method 2017-02-09 04:57:42 +05:30
Honza Král a180459d69 Update API parameters to 5.x 2017-02-08 21:07:29 +01:00
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
Yotam Tanay a644af0e07 Fix error where address is null in _get_host_info (#506)
* Fix error where address is null in _get_host_info

* Bump CI
2017-01-03 15:12:15 +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 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
Javier Aguirre 8e69b98844 Fix UnboundLocalError response (#476) (#481) 2016-12-06 18:10:44 +01:00
Honza Král fe53ab588e Fix sniffing for 5.0
Fixes #477
2016-12-06 12:17:57 +01:00
Noah Wood 2bc407e633 add '_mapping' to exists_type path (#473)
This adds ‘_mapping’ to the path for exists_type to avoid the
deprecation warning consistent with:
https://github.com/elastic/elasticsearch/commit/a4ea7e72234b480f89e8c59b
b12061be11172db1
2016-11-30 12:53:56 +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
Will McGinnis ca2dd242c4 optionally don't explicitly delete scrolls in helper (#454) 2016-10-11 15:00:59 +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 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 fb8b55284a Do not use weakref to refer to client 2016-07-12 22:46:15 +02:00
Honza Král 311ac7c814 Allow specifying custom http headers 2016-07-12 18:13:48 +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 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 a64fa04562 Adding the indices.shrink API 2016-06-10 14:55:40 +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