prudhvigodithi commented on issue #15605:
URL: https://github.com/apache/lucene/issues/15605#issuecomment-3791298556

   If i'm not wrong the issue could be coming from 
[collectors.add(collector)](https://github.com/apache/lucene/blob/main/lucene/core/src/java/org/apache/lucene/search/TopFieldCollectorManager.java#L171)
 with using `new ArrayList<>()`. Let me see if I can reproduce this with a test 
and will fix to have thread-safe.  We can leverage `CopyOnWriteArrayList` and 
ensure the same test pass.


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