Commit Graph
12 Commits
Author SHA1 Message Date
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 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 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
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
Yuri Khrustalev 36967e5307 make scan helper deal with empty response, refs #142 2014-10-22 14:41:41 +04:00
Honza Král e68786bc8a Clearer message regardings alternate bulk operations.
Fixes #107, thanks jwarzech!
2014-08-02 14:31:47 +02:00
speedplaneandHonza Král d987546230 Add relative imports so 1.0 and 0.9x can co-exist. 2014-06-06 17:32:19 +02:00
Honza Král b1d36926c1 Allow get_test_client to not wait for es cluster startup 2014-05-20 15:05:40 +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