MassIndexerProgressMonitor should consitently use long types

Description

Currently the MassIndexerProgressMonitor API acceps a long for the estimate of total documents to be built, but uses int to track increments in current progress.

This is not a big problem as increments will always be in small steps but needs to be clarified; if we choose to change the signature to long it would break APIs so needs a bit of caution.

Environment

None

Status

Assignee

Fabio Massimo Ercoli

Reporter

Sanne Grinovero

Labels

None

Suitable for new contributors

Yes, likely

Feedback Requested

None

Components

Fix versions

Priority

Major