VivekKumarNeu commented on issue #15108: URL: https://github.com/apache/lucene/issues/15108#issuecomment-3337098765
Hi @john-wagster , The test failed because DirectoryReader.open() tried to read the index while there were still uncommitted changes in the writer. The fix is to call writer.commit() after we have made all the changes and before opening the reader. That makes sure the reader can actually see a proper index. I have opened a PR to fix the issue - https://github.com/apache/lucene/pull/15233 Please take a look when you have some time. -- 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]
