Commit Graph
171 Commits
Author SHA1 Message Date
Boaz Leskes f72e6488ee Normalizing the source filtering params of get_source with the rest of the API 2013-10-11 12:30:22 +02:00
Honza Kral 08a38844be Json does recognize ints 2013-10-10 13:56:56 +02:00
Honza Kral 61509723e6 Helper documentation tweaks 2013-10-10 13:20:42 +02:00
Honza Kral 8568388f29 cluster.health has a status key that should not be treated as http status 2013-10-10 13:20:00 +02:00
Honza Kral c9f21c3c4f Update the docstring for get_source to match reality 2013-10-09 10:12:35 +02:00
Boaz Leskes 1e52c17d1a updated source filtering tests and spec
Fixed id tests to be strings.
Changed the _source_* param of get_source as they have changed in core.
2013-10-08 18:18:20 +02:00
Boaz Leskes 225ccead0c The name parameter of indices.get_template is not required. 2013-10-08 18:15:09 +02:00
Honza Kral 553e42c29e New version to upload 2013-10-08 15:21:43 +02:00
Honza Kral 68e1829041 Inlude ID when bulk indexing documents through bulk_index helper 2013-10-06 17:54:36 +02:00
Honza Kral a2b89e0b84 Moved RequestsHttpConnection to it's own module 2013-10-04 15:47:56 +02:00
Honza Kral 45403c9f2d Moved Urllib3HttpConnection to it's own module 2013-10-04 15:46:41 +02:00
Honza Kral 92c7dde5e0 Removing redundant code 2013-10-02 01:04:50 +02:00
Honza Kral 9baa8fb309 Tiny cleanup 2013-10-02 00:54:05 +02:00
Honza Kral 5fccd1e793 Allow lists for http_auth in RequestsHttpConnection
thanks nkvoll!
2013-10-02 00:42:38 +02:00
Honza Kral b0587071b6 Circumvent prepared requests from RequestsHttpConnection
this is because sesion.send(prepared_request) doesn't pass through auth
info. Thanks nkvoll!

Fixes #8
2013-10-02 00:39:19 +02:00
Honza Kral 4f890ff89c preserve ',' and '*' in url for nicer URLs in logs 2013-09-30 19:20:50 +02:00
Honza Kral a238144bc6 Lists can only contain strings in es api, also broke py3
This reverts commit 7eb4949641.
2013-09-30 19:15:03 +02:00
Honza Kral 17c4a3dd21 stats_only parameter to bulk_index helper for large loads` 2013-09-30 19:05:12 +02:00
Honza Kral 8f15b4edc0 Helpers documentation 2013-09-30 19:05:00 +02:00
Honza Kral e04a1d3c02 Double explain 2013-09-30 17:39:49 +02:00
Honza Kral 7eb4949641 Make sure we encode even values in lists 2013-09-30 17:38:37 +02:00
Honza Kral 7243ae6413 Typo in ElasticsearchException
This change is internal so it shouldn't affect existing code
2013-09-28 15:51:24 +02:00
Rob HudsonandHonza Kral 12d7d24e4d Update __init__.py
Removed duplicate line in docstring.
2013-09-27 13:35:01 +02:00
Honza Kral 672fdf7d5f Make ignore a global parameter 2013-09-25 23:09:50 +02:00
Honza Kral 33b05bdc62 Thrift SSL support 2013-09-25 21:31:10 +02:00
Honza Kral 490fd237ee rename use_https to use_ssl to make it forwards copatible with thrift 2013-09-25 21:07:29 +02:00
Honza Kral ab8e60de58 use ascii 2013-09-25 21:06:49 +02:00
Honza Kral b39db98f5d New params to indices.stats 2013-09-25 14:29:17 +02:00
Honza Kral d5533bb209 _source, _source_exclude and _source_include parameters for get, get_source, mget and search 2013-09-25 14:28:56 +02:00
Honza Kral af249a9ac6 Explain API 2013-09-25 14:13:44 +02:00
Honza Kral 48c2b1bcf0 Add clear_scroll API 2013-09-25 14:02:04 +02:00
Honza Kral b724288d76 Https support for the http-based transports.
Thanks, nkvoll!
2013-09-24 23:07:14 +02:00
Honza Kral 7a440fda4a Support for HTTP auth. Thanks, nkvoll! 2013-09-24 22:55:04 +02:00
Honza Kral f60e340f0c bump version for PYPI 2013-09-24 18:40:35 +02:00
Honza Kral 6d35a78751 wrong __init__ signature for connections 2013-09-24 18:38:18 +02:00
Honza Kral e9ca191d2a Bumping the version for new release 2013-09-24 17:32:06 +02:00
Honza Kral ec038c4e9c More doc fixes 2013-09-24 16:58:37 +02:00
Honza Kral 4477895b42 Connection Layer docs 2013-09-24 15:49:38 +02:00
Honza Kral b01ff0ecb6 Change ignore_missing to ignore 2013-09-22 16:46:43 +02:00
Honza Kral 38ba61d511 Fix memcached tests for py3 2013-08-25 18:01:45 +02:00
Honza Kral 39bcd81957 Minor fixes 2013-08-25 17:58:30 +02:00
Honza Kral 667160e9dc Added PoolingConnection for non thread-safe connection classes 2013-08-25 17:00:46 +02:00
Honza Kral e91ed68bd0 Split individual connection classes 2013-08-25 16:39:56 +02:00
Honza Kral 95c33871ef Make connections a package 2013-08-25 16:32:20 +02:00
Honza Kral 2161c87d86 Make thrift an optional dependency 2013-08-21 00:18:18 +02:00
Honza Kral 0c09ef72a0 Experimental Thrift support
No thread safety
no connection pooling for thrift
very limited error handling
2013-08-21 00:13:13 +02:00
Honza Kral c7cf8011f4 Avoid circular references to make GC's life a bit easier 2013-08-14 01:42:19 +02:00
Honza Kral 56e314f5b0 Experimental memcached protocol.
Only works with python 2 now
2013-08-11 02:17:20 +02:00
Honza Kral 366e15dee8 Support timeouts with urllib3 2013-08-09 02:26:42 +02:00
Honza Kral d72b15680c Switch to urllib3 for more performance 2013-08-08 18:06:36 +02:00