Fix NotSerializableExpections due to TupleMapper
Check number of actions before executing bulk request
Update to Elasticsearch 1.2.1