Iterating on results of query on single class with criteria generates wrong statistics

Description

Same problem as HSEARCH-2630, but for a different use case.

Test case and fix coming.

Environment

None

Status

Assignee

Yoann Rodière

Reporter

Yoann Rodière

Labels

None

Suitable for new contributors

None

Feedback Requested

None

Components

Fix versions

Affects versions

5.7.0.Final
5.8.1.Final
5.6.1.Final

Priority

Major
Configure