Handling errors in bulk indexing. There is a filed named erros which indicates whether commit was succesful see: http://www.elasticsearch.org/guide/en/elasticsearch/guide/current/bulk.html
bulk indexing update
Merge pull request #18 from r--w/master

Handling errors in bulk indexing.