[
https://issues.apache.org/jira/browse/LUCENE-7872?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16051164#comment-16051164
]
Hoss Man commented on LUCENE-7872:
----------------------------------
Presumably you're targeting this for 7.0 since it's a public API change?
I'm +1 to the idea ... but I feel like if we're going to make this change to
TopDocs we should bite the bullet and make the equivalent change to Solr's
DocList API (rather then coerce with Math.toIntExact).
I'll try to work on an updated patch tomorrow?
> TopDocs.totalHits should be a long
> ----------------------------------
>
> Key: LUCENE-7872
> URL: https://issues.apache.org/jira/browse/LUCENE-7872
> Project: Lucene - Core
> Issue Type: Bug
> Reporter: Adrien Grand
> Priority: Minor
> Attachments: LUCENE-7872.patch
>
>
> Even though a single index cannot have more than 2B documents, TopDocs.merge
> might merge TopDocs instances that have more than 2B documents in total.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]