Commit Graph
53 Commits
Author SHA1 Message Date
Brian HicksandHonza Král 6f7349eec4 make Elasticsearch.scroll POST the scroll ID
Without this, if you have a large number of indices the `scroll_id` will be very long, and ElasticSearch will return an invalid response. (A urllib3 `ConnectionError` to be precise.) This changes the behavior to POST to the scroll endpoint, which gets around the URL length restriction.
2013-12-16 16:33:32 +01:00
Honza Král 6947b01275 Removed extra reference to the id parameter for create API 2013-12-09 02:53:07 +01:00
Honza Král 69b8023c15 Doc fix: bulk_index -> bulk rename 2013-12-02 17:17:06 +01:00
Honza Král 6f6c864bc8 Bulk supports timeout parameter in new ES 2013-11-25 11:57:21 +01:00
Richard Boulton 7c84613abc Document the format of the body parameter for bulk operations, and correct a couple of typos in the documentation. 2013-11-19 17:03:32 +00:00
Graeme Coupar 02b47b3f13 Added support for q parameter to delete_by_query 2013-10-30 12:47:53 +00:00
Rob Hudson d4eba59e3a Update __init__.py
Fixed documentation to match code argument order.
2013-10-26 14:53:01 -07:00
Honza Král 2bd421f29d Add in __repr__ to client to simplify debugging 2013-10-22 01:23:12 +02:00
Honza Král 78d5a0b5a8 Be more benevolent when dealing with hosts parameter
This was mostly inspired by work on haystack for backwards compatibility
2013-10-22 01:22:47 +02:00
Honza Kral 2bb16fe7ed Make offset in search work. from is a reserved word in python so use from_
Fixes #13
Thanks llonchj,  danfairs, vanatteveldt and RonRothman!
2013-10-17 22:01:25 +02:00
Honza Kral d5285b09da Adding a reference tothe bulk_index helper from the bulk API 2013-10-14 23:33:16 +02:00
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 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
Honza Kral e04a1d3c02 Double explain 2013-09-30 17:39:49 +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 ab8e60de58 use ascii 2013-09-25 21:06:49 +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 ec038c4e9c More doc fixes 2013-09-24 16:58:37 +02:00
Honza Kral b01ff0ecb6 Change ignore_missing to ignore 2013-09-22 16:46:43 +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 e79afeb9c5 don't use _make_path for static paths 2013-08-07 03:11:03 +02:00
Honza Kral ad5860bea6 Formatting and docstrings 2013-08-07 01:34:17 +02:00
Honza Kral fae0fdb254 remove duplicit doc_type defintion 2013-08-01 14:47:54 +02:00
Honza Kral 6a76c85893 explain API 2013-07-24 01:54:02 +02:00
Honza Kral 6b238121fc more like this 2013-07-24 01:47:40 +02:00
Honza Kral d9d2ef930a Added percolate API 2013-07-24 01:39:06 +02:00
Honza Kral de7986ba00 Suggest API 2013-07-23 19:26:04 +02:00
Honza Kral b7a91008c1 delete_by_query 2013-07-22 00:40:41 +02:00
Honza Kral ca59f137b6 extract _bulk_body 2013-07-22 00:31:13 +02:00
Honza Kral 36a3a880e1 msearch endpoint 2013-07-22 00:28:51 +02:00
Honza Kral 148f803c66 bulk & count APIs 2013-07-20 21:11:50 +02:00
Honza Kral 7c99b451a6 Added scroll api 2013-07-16 14:22:11 +02:00
Honza Kral 89edf34ec4 Have doc_type default to _all for get_source 2013-07-12 18:49:55 +02:00
Honza Kral b7d81900e4 ignore_missing for get_source 2013-07-12 18:48:26 +02:00
Honza Kral 44ee8b6e82 Update API 2013-07-12 18:22:00 +02:00
Honza Kral 66561136c2 Ping endpoint 2013-07-12 17:25:06 +02:00
Honza Kral 4427624766 info docstring 2013-07-12 17:20:46 +02:00
Honza Kral a3baf59e0c mget endpoint 2013-07-12 17:20:28 +02:00
Honza Kral b1c934e01d get_source api 2013-07-11 13:49:17 +02:00
Honza Kral d6c30c3dcb make doc_type default to _all in get and exists 2013-07-11 02:31:55 +02:00
Honza Kral 0954a60312 info endpoint 2013-07-11 02:00:17 +02:00
Honza Kral 2816c14f3e Index API 2013-07-10 17:06:27 +02:00
Honza Kral 8419a35291 ignore_missing for delete api 2013-07-10 16:53:03 +02:00
Honza Kral 2eff1f0d9c Delete endpoint 2013-07-10 16:49:07 +02:00
Honza Kral 6c541386bb Search endpoint 2013-07-10 14:33:04 +02:00
Honza Kral 48ec1ab4bb create & get API 2013-07-10 14:07:33 +02:00