[ 
https://issues.apache.org/jira/browse/LUCENE-8819?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16855900#comment-16855900
 ] 

Ignacio Vera commented on LUCENE-8819:
--------------------------------------

I had a look into the error in TestRandomRegExp2 and it looks more concerning.

The test executes two equivalent queries and expects the same results. The 
problem is that it is using two different random searchers and in this case one 
is using multiple threads (executor != null) and the other one is single 
threaded (executor == null). The effect is the same as above, documents gets 
different shard_index and results are different.

It sounds wrong to me that depending how you construct your searcher you might 
get different results.

 

> 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]

Reply via email to