Add --data-binary as curl switch for logs when bulk loading (as per docs) #452

Closed
wants to merge 1 commit into from

2 participants

@canadaduane

The curl output should use --data-binary instead of -d when describing the action in the Tire log output. See http://www.elasticsearch.org/guide/reference/api/bulk.html.

Also adds count of omitted documents in log output.

@canadaduane canadaduane Add --data-binary as curl switch for logs when bulk loading (as per E…
…lasticSearch.org docs). Count number of documents in log output.
107e3ef
@karmi
Owner

Well, I think the docs say that you should use the option when you're providing the payload as @file. Nevertheless, the curl log is just informational as it is -- otherwise it would dump loads of payload data into your log... Leaning towards closing this?

@canadaduane
@karmi karmi closed this in 18284e7 Oct 26, 2012
@karmi
Owner

OK, thanks, merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment