Commit Graph
417 Commits
Author SHA1 Message Date
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 12ded2b841 Added a class to addon clients to add more namespaces 2015-05-02 16:41:53 +02:00
Jim Kelly 032a1aa799 Fixes issue introduced in 482f166 where the tracer spams when
unconfigured.

In the aforementioned commit, the existing behavior was changed,
I believe in advertantly, to set propagate to False if the
trace logger already has been configured. This seems to be the
opposite of the internet, and this change restores what appears
to have been the intent, and silences the tracer unless
it has been configured, in which case it will propagate.
2015-04-28 22:32:57 +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 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 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
Malthe BorchandHonza Král d646bff410 Add 'query_cache' parameter option 2015-04-19 16:54:35 +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
Georges Toth fc98b5d352 Modify test for http_auth to allow for passing custom authentication methods as well 2015-03-26 12:39:09 +01:00
Russell Savage 4c24468168 updating doc links to elastic.co
reverting bucket link to elasticsearch.org

updating test cases to use elastic.co

updating pylibmc version
2015-03-23 15:56:32 -07:00
Sven Wästlund 3616f7208a socket.error is now caught in perform_request aswell.
Fixes #205
2015-03-11 16: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 8c1a25e942 Add master_timeout to (get/exists)_template APIs 2015-02-16 16:16:16 +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
J Charitopoulos 0cd23e49d2 minor syntax 2015-02-10 16:16:21 +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 271fc4d232 Warn when people using insecure options. 2015-01-29 23:46:01 +01:00
Marc AbramowitzandHonza Král 0246c5bbda Remove extra spaces from exception message
Without this change, it prints with extra spaces -- e.g.:

    E           elasticsearch.exceptions.ImproperlyConfigured: No defined connections, you need to                     specify at least one host.
2015-01-27 16:51:39 +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
Magnus BäckandHonza Král 919b8f5ce3 Fix typos in docstring links to Elasticsearch documentation. 2015-01-19 19:37:41 +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
syllogismosandHonza Král 87bba04d4d Update reindex helper function to introduce a new query argument.
you can specify an extra `query` argument, so that you could reindex only the docs that belong to a specific query.
2015-01-16 16:34:45 +01:00
Steven Moy 7a674dbb0b Fixed Issue 180 Pass connection pool and seed_connections as two
separate arguments
2015-01-08 15:43:14 -08: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
Julian MehnleandHonza Král 51c89a8a2b Avoid generating 'No handlers could be found for logger "elasticsearch"' errors
by installing no-op logging handler per <https://docs.python.org/2/howto/logging.html#configuring-logging-for-a-library>.
2014-12-31 16:51:32 +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