Lucene total hit count is wrongly considered exact on timeout

Description

The problem is made visible by a fix for HSEARCH-4079. Before that fix, we used to take a specific path in test timeouts that resulted in the hit count being set to 0 and considered as a lower bound.

But in the general case, we won't take that path on timeouts, and the hit count will wrongly be considered as exact.

Environment

None
Fixed

Assignee

Yoann Rodière

Reporter

Yoann Rodière

Labels

None

Suitable for new contributors

None

Feedback Requested

None

Components

Fix versions

Priority

Major
Configure