[
https://issues.apache.org/jira/browse/LUCENE-8819?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16856004#comment-16856004
]
Atri Sharma commented on LUCENE-8819:
-------------------------------------
[~jpountz] Yes, the problem is that there is no disambiguation between when the
incoming Collectors belong to different IndexSearchers or to the same
IndexSearcher.
I opened https://issues.apache.org/jira/browse/LUCENE-8829 to track this issue.
[~jpountz] Would it not be simpler if IndexSearcher#searchAfter disabled
setting shardIndices (setShardIndex=false?). TopDocs#merge could use that as a
signal and use docID to tie break iff sort order == null &&
setShardIndex=false. WDYT?
> org.apache.lucene.search.TestTopDocsMerge.testSort_1 failure
> ------------------------------------------------------------
>
> Key: LUCENE-8819
> URL: https://issues.apache.org/jira/browse/LUCENE-8819
> Project: Lucene - Core
> Issue Type: Bug
> Reporter: Ignacio Vera
> Priority: Major
> Attachments: LUCENE-8819.patch
>
>
> It can be reproduced with:
>
> {code:java}
> ant test -Dtestcase=TestTopDocsMerge -Dtests.method=testSort_1
> -Dtests.seed=E916688CE5BC9122 -Dtests.multiplier=3 -Dtests.slow=true
> -Dtests.locale=es-US -Dtests.timezone=Pacific/Johnston -Dtests.asserts=true
> -Dtests.file.encoding=ISO-8859-1{code}
>
> Test fails in master and branch 8.x but it does not fail in branch 8.1.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]