Commit Graph
21 Commits
Author SHA1 Message Date
Honza Král 3400179153 Allos the size of the bulk request to be defined in bytes
Fixes #199
2015-09-30 21:06:24 +02:00
Honza Král 928fc000d1 Serialize the data in bulk helper 2015-09-30 19:25:17 +02:00
Honza Král 9e4d0dd25d Move the bulk body construction into _chunk_actions 2015-09-30 19:16:21 +02:00
Honza Král a177375c25 Don't keep the data twice in bulk helper 2015-09-30 19:03:49 +02:00
Honza Král 0ad6b94d1e Extract chunking from streaming_bulk 2015-09-30 18:23:42 +02:00
Jason Veatch 80ccb181cd Removed "optionally", it might be confusing. 2015-09-09 16:06:03 -04:00
Jason Veatch 09efa15813 Clarified _op_type options in streaming_bulk docstring. 2015-09-09 15:02:09 -04: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 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 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 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 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 28f9171235 Make helpers into a package 2014-04-23 00:49:25 +02:00