[
https://issues.apache.org/jira/browse/LUCENE-9342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17090084#comment-17090084
]
Tomas Eduardo Fernandez Lobbe commented on LUCENE-9342:
-------------------------------------------------------
https://github.com/apache/lucene-solr/pull/1448
> Collector's totalHitsThreshold should not be lower than numHits
> ---------------------------------------------------------------
>
> Key: LUCENE-9342
> URL: https://issues.apache.org/jira/browse/LUCENE-9342
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Tomas Eduardo Fernandez Lobbe
> Priority: Minor
>
> 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}}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]