moshe / elasticsearch_loader

A tool for batch loading data files (json, parquet, csv, tsv) into ElasticSearch
MIT License
399 stars 83 forks source link

Add flag for raise_on_error #100

Closed RtiM0 closed 3 years ago

RtiM0 commented 3 years ago

Sometimes a small number of corrupt documents halt the entire bulk insert process. As seen here: https://stackoverflow.com/questions/59555640/how-to-bulk-insert-in-elasticsearch-ignoring-all-errors-that-may-occur-in-the-pr

By turning off raise_on_error flag, the bulk insert process wont halt everything due to a single error and continue the operation.