Commit Graph
339 Commits
Author SHA1 Message Date
Honza Král 20aa35d791 Urllib3 will fill in the content-length automatically 2014-10-01 16:42:04 +02:00
Honza Král 40f7fc5a01 Log failed attempts at closing the failed thrift connections 2014-09-27 17:34:00 +02:00
Michael Schier 76995a6582 ignore exceptions when trying to close transport socket 2014-09-23 23:38:58 +12:00
Michael Schier 2a1aac8c3b close thrift connection upon exception 2014-09-23 01:40:04 +12:00
Michael Schier 8a4c990065 addressed maintainer comments 2014-09-23 01:13:04 +12:00
Michael Schier c4bbe7382b discard dodgy thrift connections that went into a bad state, made PoolingConnection thread-safe 2014-09-19 01:45:03 +12:00
Honza Král 4c649682c7 Add indices.get API 2014-09-11 13:02:48 +02:00
Honza Král 81431a2823 Reroute API has a metric param 2014-09-10 16:25:37 +02:00
Honza Král cb68308abf Body in the logs should be debug-level
Fixes #119, thanks traxair!
2014-09-10 16:24:44 +02:00
Honza Král f9b70383b9 Added versioning support to *_script APIs 2014-09-08 12:16:08 +02:00
Honza Král 44060a48a0 Catch socket.timeout in ThriftConnection
Fixes #121, thanks traxair!
2014-09-08 12:08:45 +02:00
Honza Král 18d6b41e82 Allow body to be passed as bytes in python 3.4
Fixes #113, thanks leplatrem for the report!
2014-08-23 15:25:44 -07:00
Honza Král 639aa93096 1.2.0 release 2014-08-03 13:57:07 +02:00
Aarni KoskelaandHonza Král 00b6212212 Be more informative when unable to JSON serialize 2014-08-03 13:24:12 +02:00
Honza Král e68786bc8a Clearer message regardings alternate bulk operations.
Fixes #107, thanks jwarzech!
2014-08-02 14:31:47 +02:00
Honza Král 8966902e40 Filter out master-only nodes when sniffing
Fixes #106, thanks jolynch!
2014-07-31 00:33:26 +02:00
Honza Král 43b96e7a49 Added stored script and search template APIs 2014-07-29 23:05:56 +02:00
Honza Král b6860f1f3d Escape trailing underscore to fix docs.
Fixes #108, thanks Lambdanaut!
2014-07-16 17:11:40 +09:00
Honza Král 3a79457250 Do not escape the global request_timeout param
Thanks EyePulp for the report!
2014-07-04 16:50:48 +02:00
Honza Král e8af8dbcc7 Version bump after release for master 2014-07-02 18:20:35 +02:00
Honza Král 6e3de80d82 Bumping the version to 1.1.0 2014-07-02 18:03:20 +02:00
Honza Král daa4885836 Adding back snapshot_index removed in ef30042 for backwards compatibility 2014-07-02 17:10:49 +02:00
Honza Král ef3004277b Updated the API interface to latest API specs 2014-07-02 16:48:25 +02:00
Honza Král c112399631 Allow for global parameter to set per-request timeout
Fixes #100, thanks portante!
2014-07-02 15:56:57 +02:00
ArmagnacandHonza Král 619e7eb6b2 Use GET in scroll to enable method-based access control 2014-06-25 11:30:56 +02:00
Andrew SnareandHonza Král 4d37a54c95 Use simplejson if present instead of the stdlib json module.
The simplejson parser drop-in compatible with the builtin python JSON
parser, but much faster. In particular, this makes operations like
reindexing quicker.
2014-06-25 10:21:36 +02:00
Honza Král d8312e4c70 Docstring formatting 2014-06-12 01:47:09 +02:00
Honza Král e9bc9007ce Adding a missing 'create' param for put_template 2014-06-06 17:36:00 +02:00
speedplaneandHonza Král d987546230 Add relative imports so 1.0 and 0.9x can co-exist. 2014-06-06 17:32:19 +02:00
Honza Král 38ae1bd3c3 Fix repr tests and url quoting in bytes/strings 2014-05-29 02:42:59 +02:00
Alex KsikesandHonza Král 40fbb2a1c3 Adds 'include' parameter to mlt 2014-05-29 01:19:01 +02:00
Honza Král 756a6aee25 unicode_literals ftw 2014-05-29 01:16:17 +02:00
Honza Král b1d36926c1 Allow get_test_client to not wait for es cluster startup 2014-05-20 15:05:40 +02:00
Honza Král f10d7f2da2 Body is always sent as utf-8 bytes, reflect it in tests
Thanks johbo for the report!
2014-05-09 18:11:50 +02:00
Honza Král 2539214d55 Add cat.fielddata API 2014-05-09 17:41:59 +02:00
Bruno Renié df25a01638 Typo in sniff_hosts error message 2014-04-30 18:25:16 +02:00
Honza Král 0b7f7672d0 Remove trailing whitespaces in cat client 2014-04-28 19:19:02 +02:00
Mathieu GeliandHonza Král dd408cff67 Add segment cat api 2014-04-28 19:18:03 +02:00
Honza Král 93d104eea8 Adding the search_shards API 2014-04-23 23:57:12 +02:00
Honza Král 71176d5595 Provide helpers for running tests against elasticsearch 2014-04-23 01:12:03 +02:00
Honza Král 28f9171235 Make helpers into a package 2014-04-23 00:49:25 +02:00
Honza Král 4a3ab2768f Add the experimental benchmark API support 2014-04-22 21:55:07 +02:00
Honza Král 86b59d5d90 Add new params to search_template and clear_scroll APIs 2014-04-22 21:35:51 +02:00
Honza Král 49b7a1aca9 Make sure to include Content-Length header in calls with body
Fixes #70
2014-03-31 16:41:08 -07:00
Honza Král a8b24debb8 Added indices.recovery api 2014-03-28 17:42:42 +01:00
Honza Král 67d2c7c6d1 Adding the search_template API 2014-03-20 22:01:25 +01:00
Honza Král 7355860b37 Wrap long lines 2014-03-18 21:10:16 +01:00
Jan GaedickeandHonza Král 63cb4e5df9 The parameter ignore_indices was replaced
Fixes #62

see https://github.com/elasticsearch/elasticsearch/commit/f4bf0d5112b5c6f29b651586d72c3972db5a2834
2014-03-18 21:08:15 +01:00
Honza Král 1292ac2f47 Typo fix, thanks willkg 2014-03-10 16:10:17 +01:00
Honza Král 152e133cc2 Added documentation for exceptions raised by elasticsearch-py
Fixes #58, thanks, willkg, for the report!
2014-03-08 18:50:36 +01:00