Merge branch 'release/v0.6.5'

* release/v0.6.5:
  add a new option to reindex to be able to dump error
add \n in error log file
fix reindex issue if document include type
Merge branch 'hotfix/reindexation_issue' into develop

* hotfix/reindexation_issue:
  fix reindex issue if document include type
  add \n in error log file