Commit Graph
11 Commits
Author SHA1 Message Date
Honza Král 3ae44db90c Bulk helpers overhaul
streaming_bulk for iterative consumption of the input
bulk_index -> bulk
callback expand_action to transform input into action/data pairs
support for non-index actions through _op_type key
2013-11-22 14:29:08 +01:00
Honza Král a4e068c505 Fix the helpers tests.
ES doesn't guarantee that refresh will wait for cluster state
propagation and thus the type might not exist right after the index
being created during the bulk load. Just check the documents instead.
2013-11-19 22:33:53 +01:00
Honza Kral 174c431afb Add raise_on_error parameter to bulk_index to enable short-circuiting bulk loading 2013-10-14 23:50:42 +02:00
Honza Kral 4e56b4fbc1 Only collect info on failed docs when using the bulk_index helper 2013-10-14 23:33:16 +02:00
Honza Kral 64dd28fd8f Failed indexes in bulk_index do not contain theok flag 2013-10-14 23:33:16 +02:00
Honza Kral 44ed34771e Better tests for the bulk_index helper 2013-10-06 17:54:07 +02:00
Honza Kral 17c4a3dd21 stats_only parameter to bulk_index helper for large loads` 2013-09-30 19:05:12 +02:00
Honza Kral af0202d89f slightly simpler tests 2013-08-01 16:04:56 +02:00
Honza Kral 1ee42ca17c Added a simple reindex helper 2013-08-01 15:05:29 +02:00
Honza Kral 29977efff4 Added a convenient scan heper API to iterate over docs 2013-08-01 14:57:08 +02:00
Honza Kral 5b1a2fd650 bulk_index helper to easily load docs into ES 2013-08-01 14:48:39 +02:00