spinscale opened a new issue, #15599:
URL: https://github.com/apache/lucene/issues/15599

   ### Description
   
   This is for the `branch_10x`, but happens reproducibly there. Running this 
leads to extremely long test runs with timeouts.
   
   Looking at the code briefly, I think the flushing of the indexwriter happens 
after each document is added, but should happen only, after all docs for a 
single segment have been written, if I understand this specific test correctly. 
See 
https://github.com/apache/lucene/blob/branch_10x/lucene/core/src/test/org/apache/lucene/search/TestRescoreTopNQuery.java#L198
   
   I could not reproduce this on `main` the same seed.
   
   ### Gradle command to reproduce
   
   ```
   ./gradlew test --tests TestRescoreTopNQuery.testLateInteractionQuery 
-Dtests.seed=EFFEDEDB585102DD -Dtests.nightly=true
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to