Commit Graph

268 Commits

Author SHA1 Message Date
Honza Kral bf40da3cce ReST fix 2013-10-14 23:39:30 +02:00
Honza Kral e3ef25d5e4 Added a lint to full docs 2013-10-14 23:37:30 +02:00
Honza Kral d5285b09da Adding a reference tothe bulk_index helper from the bulk API 2013-10-14 23:33:16 +02:00
Honza Kral 4e56b4fbc1 Only collect info on failed docs when using the bulk_index helper 2013-10-14 23:33:16 +02:00
Honza Kral 64dd28fd8f Failed indexes in bulk_index do not contain theok flag 2013-10-14 23:33:16 +02:00
Honza Kral e6e1fd060e Make requests an optional dependency 2013-10-14 23:33:16 +02:00
Boaz Leskes 70829a219b upgrade submodule to the latest spec 2013-10-11 13:57:35 +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 5b36475197 Updated the yaml test suite 2013-10-10 14:48:54 +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 44ed34771e Better tests for the bulk_index helper 2013-10-06 17:54:07 +02:00
Honza Kral cc524e9c9d Python 3 fix fo tests 2013-10-06 17:43:45 +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
Njal Karevoll 6a0f5c7646 urllib3: add a test to verify that providing http_auth as a list works 2013-10-02 01:01:30 +02:00
Honza Kral 1a9fd9e105 Remove duplicate test 2013-10-02 01:01:05 +02:00
Njal Karevoll 4037de58d0 requests: add tests to verify that providing http_auth as a list works and that the authorization headers are added to the request 2013-10-02 01:00:11 +02:00
Honza Kral b3c1170092 only require thrift if we are going to use it
This commit is mostly for travis since thrift has trouble downloading
at times.
2013-10-02 00:56:23 +02:00
Honza Kral a24337ca6b Updated rest api specs 2013-10-02 00:54:39 +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 8da490e672 Even when using existing server wait for yellow status before proceeding
This should solve travis issues where ES is run just before the test
suite.
2013-09-28 15:51:24 +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
Honza Kral 5774ccc4b0 Added CONTRIBUTING.md to MANIFEST.in 2013-09-27 13:38:51 +02:00
Rob Hudson 12d7d24e4d Update __init__.py
Removed duplicate line in docstring.
2013-09-27 13:35:01 +02:00
Honza Kral 638713daab Added a simple contributing document. 2013-09-26 11:34:15 +02:00
Honza Kral d179ae6253 Download our own ES in travis so that we can install plugins and run thrift tests 2013-09-25 23:51:25 +02:00
Honza Kral 49a23db148 New spec repo version 2013-09-25 23:10:30 +02:00
Honza Kral 672fdf7d5f Make ignore a global parameter 2013-09-25 23:09:50 +02:00
Honza Kral 5c76e7c96c Run yaml test suite correctly - one test per test method 2013-09-25 23:07:52 +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