VivekKumarNeu opened a new pull request, #15233: URL: https://github.com/apache/lucene/pull/15233
### Description 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. PS: This is my first commit. Please comment if I need to make any changes, and I will update the PR accordingly. Thank you. -- 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]
