We're updating the issue view to help you get more done. 

Improve the mass indexing monitor count in case of errors

Description

Currently we count errored documents as indexed. Maybe we should only count successfully indexed document as such, and provide a separate method to count errored documents?

Same goes for loaded entities, I think. Though there's the question of whether we should increment the errored documents counter if entity loading failed?

Original discussion: https://github.com/hibernate/hibernate-search/pull/1819#discussion_r239364303

Environment

None

Status

Assignee

Unassigned

Reporter

Yoann Rodière

Labels

None

Suitable for new contributors

None

Pull Request

None

Feedback Requested

None

Components

Fix versions

Priority

Major