Commit Graph
100 Commits
Author SHA1 Message Date
Honza Král c24e7c9908 Better phrasing of th compatibility warning. Thanks, karmi! 2014-04-29 12:05:08 +02:00
Honza Král 0b7f7672d0 Remove trailing whitespaces in cat client 2014-04-28 19:19:02 +02:00
Honza Král d1b5acba93 Add example with namespaces and ignore param 2014-04-24 15:09:32 +02:00
Honza Král 4bfc89409f Giving up on testing the docs 2014-04-24 15:08:11 +02:00
Honza Král 93d104eea8 Adding the search_shards API 2014-04-23 23:57:12 +02:00
Honza Král 3173e06ec1 start elasticsearch with benchmarking enabled 2014-04-23 23:55:52 +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 7ce5b67a21 Actually add coverage back, it's just coveralls we didn't want 2014-03-28 18:53:39 +01:00
Honza Král 7507bc0dda Don't include coverage in running tests, it's unreliable 2014-03-28 18:49:29 +01:00
Honza Král f084251278 Implemented gte/lte for yaml tests 2014-03-28 17:42:51 +01:00
Honza Král a8b24debb8 Added indices.recovery api 2014-03-28 17:42:42 +01:00
Honza Král e970503d58 Got tired of thrift errors, skipping thirft tests in Travis CI 2014-03-26 18:54:09 +01:00
Honza Král d205cbfbb5 Perform git reset --hard on the elasticsearch repo when running tests. 2014-03-26 18:46:14 +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
Honza Král 6d44d33863 Adding a note in docs about the global ignore parameter 2014-03-10 16:25:07 +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
Honza Král 866e6c5035 Changing dependencies to urllib3 1.8
The main reason is that it provides fix for the Nagle algorithm
2014-03-06 16:13:42 +01:00
Honza Král 3c74fd07cd make sure we resolve variables even deep in the yaml tests 2014-03-03 15:02:57 +01:00
Honza Král 2388ecd64a Update the API to new specs 2014-03-02 18:08:15 +01:00
Honza Král b78bce79df Make sure urllib3 doesn't do retries. 2014-03-01 01:25:25 +01:00
Honza Král 819a59c0bd Also test python 3.2 in travis CI 2014-02-23 16:42:47 +01:00
Honza Král 3acb2fb48f Support expand_wildcards for indices.get_settings 2014-02-23 15:01:01 +01:00
Honza Král 120becc6cc Be more specific on what python versions we support 2014-02-22 15:39:01 +01:00
Honza Král a54d7035bb Compatibility with python 3.2
Now all the python 2/3 compatibility code is in elasticsearch.compat
Fixes #52
2014-02-21 16:59:13 +01:00
Honza Král d9fd79934c Better sniff url 2014-02-14 00:29:41 +01:00
Honza Král 139dbbb02a Version bump for master 2014-02-11 20:11:24 +01:00
Honza Král 9bd4303e48 Release of 1.0 2014-02-11 20:07:59 +01:00
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
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
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
Honza Král 8ee299c3cb get_warmer 2014-01-17 22:48:14 +01:00
Honza Král 259e0e2729 get_settings 2014-01-17 22:47:16 +01:00
Honza Král 5fcb424225 get_mapping 2014-01-17 22:46:19 +01:00
Honza Král d55ce368fc indices.get_field_mapping 2014-01-17 22:44:15 +01:00
Honza Král d8db6b52e7 get_aliases 2014-01-17 22:40:18 +01:00
Honza Král 93446cc6c7 indices.flush update 2014-01-17 22:38:32 +01:00
Honza Král e5572dd5be indices.exists_template - new api 2014-01-17 22:36:56 +01:00
Honza Král e03ddccbb8 indices.delete_warmer - name is now required 2014-01-17 22:33:59 +01:00
Honza Král 62429284f7 delete_mapping update 2014-01-17 17:35:07 +01:00
Honza Král 96c5566dad Delete_aliases now supports multi-index and multi-alias ops 2014-01-17 15:45:18 +01:00
Honza Král 89e90f7499 minor doc fix 2014-01-17 15:44:01 +01:00
Honza Král c21471b599 Index no longer required when closing 2014-01-17 15:43:43 +01:00
Honza Král ea53987828 No more percolate in index 2014-01-17 15:42:01 +01:00
Honza Král f9f65b7a18 Updated the get apis 2014-01-17 15:41:07 +01:00
Honza Král 185a691177 Added cluster.stats api 2014-01-17 15:20:44 +01:00
Honza Král 96d7fc6783 updated cluster.state API 2014-01-17 15:03:23 +01:00
Honza Král a74a39e5f3 Added timeouts to reroute 2014-01-17 14:59:17 +01:00
Honza Král 209a07e608 Update documentation links for existing APIs 2014-01-17 14:56:35 +01:00
Honza Král 3298e1082f Add the cluster.pending_tasks api 2014-01-17 14:39:04 +01:00
Honza Král 9b7797d5c8 Cluster health doc link 2014-01-17 14:36:25 +01:00