-
Type:
Improvement
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: master (9.0), 8.6
-
Component/s: None
-
Labels:None
-
Lucene Fields:New
While looking at SOLR-13289 I noticed this situation. If I create a collector with numHits greater than totalHitsThreshold, and the number of hits in the query is somewhere between those two numbers, the collector’s totalHitRelation will be TotalHits.Relation.GREATER_THAN_OR_EQUAL_TO, however the count will be accurate in this case. While this doesn't violate the current contract, the totalHitRelation could be changed to TotalHits.Relation.EQUAL_TO