Commit Graph

248 Commits

Author SHA1 Message Date
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 0bf58d7717 Updated API 2017-01-11 15:42:33 +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 a2cd22dbf6 New create API for 5.0 2016-10-19 03:01:27 +02:00
Honza Král cd8aaf2c5e 5.0 compatibility 2016-10-17 13:57:10 +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 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 ef41d893aa fields was renamed to stored_fields in elasticsearch 2016-07-12 17:52:50 +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 a64fa04562 Adding the indices.shrink API 2016-06-10 14:55:40 +02: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 7c305f1bc3 Fixes for Elasticsearch 5.0 2016-05-17 14:12:39 +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 6e94bf76ad 5.0 compatibility 2016-03-22 21:04:07 +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
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
Michael Gibson 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 74cb686538 Adding missing APIs 2015-12-27 21:10:51 +01:00
David Thornton 85928a5f3f fixed slight typo in decription of timeout in put_alias and delete_alias 2015-10-21 11:31:29 -04:00
Honza Král 1527177b5c Removing non-ascii quote 2015-10-14 00:15:42 +02:00
Honza Král fa62ae71bf Updated to latest 2.x compatibility 2015-10-14 00:06:27 +02:00
Honza Král 140ebd022f Have search_exists only return boolean like other exists APIs
Fixes #272
2015-10-07 17:36:12 +02:00
Honza Král 324599dd03 Added termvector API 2015-09-21 19:42:23 +02:00
Honza Král f929df2575 Merge remote-tracking branch 'pr/267' 2015-09-14 14:00:11 +02:00
Honza Král b1cb09ba8f Better docstring for search_shards 2015-09-13 21:06:22 +02:00
Daniel 3e4e6ba430 use GET method for count
as documented in the Elasticsearch API reference
2015-09-10 15:54:56 +02:00
Honza Král 4f7b09df5b Purge duplicities in args 2015-08-28 17:41:04 +02:00
Jorgen Jorgensen 7f5bf201ce Update __init__.py 2015-08-28 13:58:23 +02:00
Honza Král 36d8d4b545 2.0 compatibility 2015-08-25 01:21:45 +02:00
Xiuming Chen ceffee3b8b Comments for bytes. 2015-06-23 22:36:46 -07:00
Xiuming Chen b113fb3e9c Accept time resolution param for _cat/nodes. 2015-06-23 22:36:42 -07:00
Xiuming Chen 9b18b85db8 A few other cat APIs accept 'bytes'. 2015-06-22 18:09:39 -07:00
Honza Král 586704000e Add human arg to indices.create and get_settings 2015-06-19 14:13:00 +02:00
Honza Král 26ab39f313 correct link and simple description of flush_synced 2015-06-09 21:32:19 +02:00
Honza Král 799918712f Added missing params to methods 2015-06-09 19:21:31 +02:00
Honza Král aed7ec0d03 Added flush_synced API 2015-06-09 19:21:23 +02:00
Honza Král 10c36ad530 Make search_exists consistent with other _exists APIs
Fixes #230 Thanks ncrocfer for the report!
2015-05-18 15:50:35 +02:00
Honza Král 481dc907ad Add query_string parameters to count, search_exists and validate_query 2015-05-11 15:01:09 +02:00
Honza Král 12ded2b841 Added a class to addon clients to add more namespaces 2015-05-02 16:41:53 +02:00
Honza Král 9f9dc210f4 Basic docs for search_exists 2015-04-27 21:08:33 +02:00
Honza Král a531967153 Adding the field_stats API 2015-04-27 20:41:10 +02:00
Honza Král a90433a32f Adding a body parameter to scroll 2015-04-22 21:51:51 +02:00
Honza Král 01ff9da23d Updated to new version of elasticsearch spec 2015-04-20 20:14:12 +02:00
Malthe Borch d646bff410 Add 'query_cache' parameter option 2015-04-19 16:54:35 +02:00
Honza Král 881438de7c Make count consistent with search 2015-04-07 10:27:20 +02:00