Commit Graph

420 Commits

Author SHA1 Message Date
Honza Král 3e4ece48bd Even in thrift empty response should be '' and not None 2014-02-11 01:00:01 +01:00
Honza Král 59e76733de Lowercase all thrift headers for compatibility with http 2014-02-11 00:49:30 +01:00
Honza Král 47b8dc948e Version bump 2014-02-11 00:42:01 +01:00
Honza Král b560993c4e Use SNAPSHOT version of the thrift transport 2014-02-10 23:38:13 +01:00
Honza Král 36ff358948 Empty string should not be returned as None 2014-02-10 18:14:39 +01:00
Honza Král b8762b647d Adding the thread_pool cat api 2014-02-10 18:14:30 +01:00
Honza Král bf9917b0bf Add an option to change the timeout used for sniff requests.
Fixes #45
2014-02-10 16:57:35 +01:00
Honza Král 7d497d9d9c Move the versioning information in the readme to the top 2014-02-10 16:44:51 +01:00
Honza Král 6a7d4389cd Always raise TransportError with two params.
Fixes #44, thanks brianz!
2014-02-06 01:15:41 +01:00
Honza Král c4f7cb6182 only look for regexes in strings 2014-02-03 21:42:59 +01:00
Honza Král aefc942fa5 Implemented the matching by regex feature for the yaml test suite 2014-02-03 19:30:20 +01:00
Honza Král cfcf062f6a Skip on feature for yaml tests 2014-02-03 19:10:58 +01:00
Andrey Balandin 27efc6d05a Fix tests. 2014-01-30 11:56:38 +01:00
Andrey Balandin 171755f512 The 'warn' method is deprecated, use 'warning' instead. 2014-01-30 11:56:32 +01:00
Honza Král 1276411cfd Added index_templates parameter to cluster.state 2014-01-27 16:48:36 +01:00
Honza Král 0abdded7f1 Documentation fixes 2014-01-27 16:10:35 +01:00
James Yu 3aa6a3ffac fixed typo in comment 2014-01-24 11:17:46 +01:00
Honza Král c2611e92eb Set timeout properly for Requests and Thrift connections 2014-01-23 08:48:42 +01:00
Honza Král ad8a1a36c2 Termverctor APIs 2014-01-22 13:27:22 +01:00
Honza Král 5af6735bf5 Percolate API fixes and mpercolate and count_percolate 2014-01-22 13:27:04 +01:00
Honza Král ab4f386075 Don't output coverage by default when running from cmdline 2014-01-22 12:31:14 +01:00
Honza Král 6bb9807e8f Format is another parameter accepted by all APIs 2014-01-20 18:55:40 +01:00
Honza Král 8c670793e6 Always use kwargs 2014-01-20 18:54:19 +01:00
Honza Král d8a84b6045 Just ignore 404 instead of catching exception 2014-01-20 18:53:41 +01:00
Honza Král 8a18ef67f5 Add local params and other minor api fixes 2014-01-20 18:51:19 +01:00
Honza Král 705d5d75cc The yaml test suite has some weird bool rules 2014-01-20 18:51:04 +01:00
Honza Král 69b0c7141d get_client() already returns a singleton instance 2014-01-20 17:15:53 +01:00
Honza Král c82219ea0a Make sure we clean up correctly after failed thrift connection 2014-01-18 21:33:04 +01:00
Honza Král 2a76e66dea Thrift is not lazy during opening connection
we need to look out for exceptions even when requesting one
2014-01-18 21:29:26 +01:00
Honza Král a3e98c5ec3 Raise the timeout for the server to come up. Maybe travis will make it. 2014-01-18 21:25:14 +01:00
Honza Král dfb939d878 Major test refactor.
- removed the git submodule, relying on the elasticsearch repo existing
  outside of this one
- modified the run_tests.py script to inspect currently running
  elasticsearch and try and checkout the exact SHA used to build the
  server
- removed the option of starting out own elasticsearch server
- fixed travis.yml to reflect the changed situation
- added a README file to the test suite explaining all the options
2014-01-18 21:08:15 +01:00
Honza Král 5aecde0586 Minor fixes to the API 2014-01-18 01:54:39 +01:00
Honza Král 4adad8dc78 Updated tests to work with 1.0 2014-01-18 01:54:30 +01:00
Honza Král 2a5c53c6f9 Unicode character 2014-01-18 01:54:01 +01:00
Honza Král ce27faf296 Node info api has moved 2014-01-18 01:53:47 +01:00
Honza Král 33e0406a8d Added implementation for catch: param 2014-01-18 01:52:33 +01:00
Honza Král 212e7cd8a2 Added the snapshot apis 2014-01-18 01:31:17 +01:00
Honza Král 47c3cf51b0 Added the cat apis 2014-01-18 01:30:31 +01:00
Honza Král 0a5b970ba6 Split node apis to their own namespace 2014-01-18 01:17:41 +01:00
Honza Král ad05fc8bbb No percolate after update 2014-01-17 23:49:50 +01:00
Honza Král 3837ae8188 proper spelling for mlt params 2014-01-17 23:48:47 +01:00
Honza Král 482fac1025 human param for status api 2014-01-17 23:47:50 +01:00
Honza Král fbb4064a57 indices.stats api 2014-01-17 23:47:13 +01:00
Honza Král 6faec3d0a3 human param for segments api 2014-01-17 23:40:50 +01:00
Honza Král 0927c2e949 Add force param to refresh 2014-01-17 23:29:29 +01:00
Honza Král ce74828516 Index isn't required for put_warmer any more 2014-01-17 23:28:18 +01:00
Honza Král 6c29fca1c8 index is not required for put_mapping any more 2014-01-17 23:26:28 +01:00
Honza Král f1e5cb076c put_alias doesn't require index any more 2014-01-17 22:58:49 +01:00
Honza Král bfcd2955e9 Optimize no longer accepts refresh parameter 2014-01-17 22:57:07 +01:00
Honza Král 17be37a886 New options for indices.open 2014-01-17 22:56:29 +01:00