Commit Graph
100 Commits
Author SHA1 Message Date
Honza Král 72f661f953 Added deprecation infor for thrift connection class 2015-07-06 18:13:02 +02:00
Honza Král 845f8cd6f5 Adding ssl_version parameter to Urllib3HttpConnection
Fixes #246
2015-07-06 18:09:44 +02:00
Honza Král df6e05b483 Merge pull request #243 from instacart/time_option
Time option
2015-06-24 14:02:34 +02:00
Honza Král 6a453631ab Adding cxmcc to AUTHORS 2015-06-23 03:15:29 +02:00
Honza Král d328998b36 Add keep_alive headers by default to Urllib3HttpConnection 2015-06-22 20:39:58 +02:00
Honza Král fdeb3d1131 Make sure reindex preserves _parent, _routing and _timestamp
Fixes #140
2015-06-20 00:27:08 +02:00
Honza Král 586704000e Add human arg to indices.create and get_settings 2015-06-19 14:13:00 +02:00
Honza Král 8b0ad42ec0 Added docs about persistent connection and fork
Fixes #237, thanks aaugustin!
2015-06-11 02:44:38 +02:00
Honza Král 174ded0854 Version bump for 1.6.0 2015-06-10 02:38:35 +02:00
Honza Král 26ab39f313 correct link and simple description of flush_synced 2015-06-09 21:32:19 +02:00
Honza Král 799918712f Added missing params to methods 2015-06-09 19:21:31 +02:00
Honza Král aed7ec0d03 Added flush_synced API 2015-06-09 19:21:23 +02:00
Honza Král 23609dc02c Forgot one version 2015-05-18 16:05:22 +02:00
Honza Král 2835c8ca1c post release version bump 2015-05-18 16:04:38 +02:00
Honza Král 699c040eaf Version bump to 1.5.0 2015-05-18 16:03:00 +02:00
Honza Král 10c36ad530 Make search_exists consistent with other _exists APIs
Fixes #230 Thanks ncrocfer for the report!
2015-05-18 15:50:35 +02:00
Honza Král 481dc907ad Add query_string parameters to count, search_exists and validate_query 2015-05-11 15:01:09 +02:00
Honza Král 8b85d888b5 Add debug info to catch: // handling in yaml tests 2015-05-08 21:41:13 +02:00
Honza Král c593911876 Updated setup.py 2015-05-02 16:42:25 +02:00
Honza Král 12ded2b841 Added a class to addon clients to add more namespaces 2015-05-02 16:41:53 +02:00
Honza Král aefb6aa302 Added jimjkelly to AUTHORS
Thanks for the contribution!
2015-04-28 22:51:25 +02:00
Honza Král 9f9dc210f4 Basic docs for search_exists 2015-04-27 21:08:33 +02:00
Honza Král a531967153 Adding the field_stats API 2015-04-27 20:41:10 +02:00
Honza Král 42b4cfd3aa Get ready for the structured exceptions coming in es 2.0 2015-04-27 20:40:55 +02:00
Honza Král f910581f5e Yet another special case for the yaml tests 2015-04-22 22:57:45 +02:00
Honza Král db541b5daa Update .travis.yml 2015-04-22 22:45:46 +02:00
Honza Král 63c1c05a93 Save the last response even when catch is applied in yaml tests 2015-04-22 21:55:05 +02:00
Honza Král a90433a32f Adding a body parameter to scroll 2015-04-22 21:51:51 +02:00
Honza Král 47afab73ad Fix new skipping logic in yaml tests 2015-04-22 21:50:19 +02:00
Honza Král 57ba820666 Adding link to elasticsearch dsl 2015-04-22 21:29:45 +02:00
Honza Král 01ff9da23d Updated to new version of elasticsearch spec 2015-04-20 20:14:12 +02:00
Honza Král eee5701dd0 Allow stats_only parameter to bulk from reindex to be overridden
Fixes #218
2015-04-19 17:28:20 +02:00
Honza Král 90022ad91f Add all contributors to AUTHORS
Sorry it took so long and thank you all!
2015-04-19 17:05:01 +02:00
Honza Král 881438de7c Make count consistent with search 2015-04-07 10:27:20 +02:00
Honza Král 453fe64987 Add docs for the http_auth parameter of RequestsHttpConnection 2015-03-27 10:46:30 +01:00
Honza Král aa2d4f079c Adding tests for advanced auth options for requests 2015-03-26 14:17:10 +01:00
Honza Král b92d591026 Make method utf-8 for urllib3
fixes #201
2015-02-26 14:14:33 -08:00
Honza Král 79ca075ab0 More sane defaults for helpers
Also make sure errors while scrolling will not be ignored
Fixes #194
2015-02-18 18:28:55 +01:00
Honza Král 7dbf753ef5 Update travis to turn on scripting 2015-02-16 16:17:26 +01:00
Honza Král 8c1a25e942 Add master_timeout to (get/exists)_template APIs 2015-02-16 16:16:16 +01:00
Honza Král cca84058ff Sometimes we have dicts indexed by integers in yaml tests 2015-02-16 16:15:56 +01:00
Honza Král 756298a360 Added documentation explaining scan and ordering
Thanks drorata for the initial patch and issue
2015-02-12 10:58:20 +01:00
Honza Král 2f9842abed post-release version bump to 1.5.0-dev 2015-02-11 22:24:57 +01:00
Honza Král cdb04dfa01 Version bump for 1.4 release 2015-02-11 22:22:38 +01:00
Honza Král 293e8a3aca Implementing stash_in_path functionality 2015-02-10 22:08:44 +01:00
Honza Král 43a0d88e77 Updated Changelog for 1.4.0 2015-01-30 00:07:00 +01:00
Honza Král f065817e89 Add option to pass kwargs to scan and bulk in reindex helper 2015-01-30 00:04:04 +01:00
Honza Král d9acd16850 Document warning for insecure ssl 2015-01-30 00:00:26 +01:00
Honza Král 271fc4d232 Warn when people using insecure options. 2015-01-29 23:46:01 +01:00
Honza Král 6bb8edc80b SSL verification off by default is really a warning, not a note 2015-01-29 23:04:26 +01:00
Honza Král 7d78a2c14e Use read the docs theme even locally 2015-01-29 23:04:14 +01:00
Honza Král 02117ad29e Remove duplicate param definitions and docs.
Fixes #191 Thanks jfunez!
2015-01-27 16:18:50 +01:00
Honza Král 93d287d99c Added tests for raise_on_exception 2015-01-24 18:41:43 +01:00
Honza Král 320e17dce8 Added raise_on_exception param to streaming_bulk
This means that we can now handle also TransportErrors that might occur
durig the bulk processing and report those items in the failed request
as failed instead of just propagating the exception.

Fixes #166
2015-01-24 18:41:35 +01:00
Honza Král c897c75aa9 Update parameters for cluster.state 2015-01-23 03:47:01 +01:00
Honza Král 32f23b6748 Add some docs for scan mentioning passing extra args to search
Fixes #186 Thanks jpshelley!
2015-01-16 23:33:38 +01:00
Honza Král 1f0852bb92 Tests for reindex accepting a query 2015-01-16 16:34:44 +01:00
Honza Král d293346375 Proper skipping technique for yaml test suite 2015-01-12 14:57:52 +01:00
Honza Král 8e43be946a Fixing certifi spellinf. Thanks jezdez! 2015-01-12 13:46:13 +01:00
Honza Král 0fd051922b Use chain instead of concatenation.
Fixes #180
2015-01-09 00:16:34 +01:00
Honza Král cdd240dc59 Removing duplicit id documentation.
Fixes #177, thanks houqp!
2015-01-08 17:11:20 +01:00
Honza Král d3e745ab77 Make initial sniff (sniff_on_start) ignore sniff_timeout
This is due to issue mentioned in #167 as part of discussion
2015-01-04 19:44:21 +01:00
Honza Král b3c2ef2996 version bump for dev 2015-01-03 01:50:46 +01:00
Honza Král e3bfeeef22 Version bump for 1.3 release 2014-12-31 17:02:06 +01:00
Honza Král 9aeabf33f7 Changelog formatting 2014-12-31 16:58:47 +01:00
Honza Král 953c66e650 fix Elasticsearch.index with id=0
Fixes #164 Thanks larsmans!
2014-12-30 18:50:52 +01:00
Honza Král 72d24906d7 Clarifying connection parameters.
Fixes #171 Thanks DavidAwad!
2014-12-30 17:21:22 +01:00
Honza Král bdf2c4b9f4 Added docs on SSL and auth options 2014-12-29 17:11:18 +01:00
Honza Král 2dc933e1c9 Add docs that load balancing only applies when more connections specified 2014-12-20 14:47:30 +01:00
Honza Král 836c6d1933 Introducing DummyConnectionPool for when only 1 connection defined 2014-12-20 00:35:24 +01:00
Honza Král 82a32540d7 Fix race condition in ConnectionPool
Fixes #158
2014-12-20 00:34:42 +01:00
Honza Král 9b5d2c062e Add an option to use scan helper without search_type=scan, use with caution
Fixes #160
2014-12-15 15:15:03 +01:00
Honza Král a23772ba27 Updated to new ES api version 2014-12-15 14:59:04 +01:00
Honza Král f47bb52de1 Adding the upgrade APIs
Thanks to @ashangit for the PR on which this is based.
2014-12-11 18:27:12 +01:00
Honza Král 5977b5ea9c Ignore build directory 2014-12-08 15:57:48 +01:00
Honza Král f1ef6336ee Add changelog entry for the check in ConnectionPool 2014-12-08 14:40:03 +01:00
Honza Král 0f0630d8d7 Make sure we always have connections defined 2014-12-08 14:32:52 +01:00
Honza Král fe556873d8 Adding the search_exists API 2014-12-02 00:13:37 +01:00
Honza Král 5173d5b741 Check required parameters for empty values.
Fixes #138, thanks robhudson!
2014-12-02 00:13:01 +01:00
Honza Král 9b37be87f1 Docs improvements
Mentioning the restriction on sniffing and GETs with no bodies allowed
(Fixes #137)
2014-11-28 17:20:05 +01:00
Honza Král 377dd12d12 Leave the termvector API as it was, including the URL 2014-11-25 13:56:04 +01:00
Honza Král 32377a4f18 ES master has removed none gateway and memory index storage, update Travis CI defs 2014-11-25 13:52:43 +01:00
Honza Král ee4a37658f termvector -> termvectors rename + bw compatibility alias 2014-11-25 13:48:23 +01:00
Honza Král 8ebbf3375f Clearer description of the index param for put_mapping
ref #152
2014-11-24 17:36:27 +01:00
Honza Král 265d00d5d6 Retry on some HTTP statuses and touching up the retry logic 2014-11-24 17:08:23 +01:00
Honza Král eadb65ba24 updated Changelog 2014-11-24 13:29:19 +01:00
Honza Král cd5d646c09 Allow to specify url_prefix through RFC-1738 parsing
Also add docs about the various connection options.
2014-11-15 16:18:58 +01:00
Honza Král bf74f7244e make host url parsing more resilient
Reject invalid combinations of url scheme and connection_class
2014-11-14 15:55:32 +01:00
Honza Král 03a817690d Added support for client SSL certificates for https
Thanks almer-fuel for the inital patch!
2014-11-14 15:31:49 +01:00
Honza Král fedcfafe7e Proper SSL implementation, including optional certificate verification 2014-11-11 03:20:16 +01:00
Honza Král d9296e85b9 Timeout should not trigger a retry by default 2014-11-10 23:52:26 +01:00
Honza Král 2b107ece5c indices.put_alias requires index parameter 2014-11-10 23:42:46 +01:00
Honza Král 9d89259f06 Non-ascii character fix 2014-10-08 09:58:17 +02:00
Honza Král d58d43b15e Verify repository API for snapshots 2014-10-08 09:23:13 +02:00
Honza Král ecfeb93a6f Introducing a ConnectionTimeout as a subclass of ConnectionError
This is to enable #128 to work
2014-10-03 18:49:07 +02:00
Honza Král f401d100a8 Add realtime parameter for termvector API 2014-10-03 17:32:49 +02:00
Honza Král f93a79aedd Add explanation of url encoding 2014-10-03 17:32:11 +02:00
Honza Král 5fec49e261 Make sure url is a string, not unicode in python 2
Fixes #133, thanks sheIIdon!
2014-10-01 17:31:38 +02:00
Honza Král 20aa35d791 Urllib3 will fill in the content-length automatically 2014-10-01 16:42:04 +02:00
Honza Král 45a4d36ae1 Added a failing unicode test 2014-10-01 15:52:46 +02:00