msfroh commented on PR #15233:
URL: https://github.com/apache/lucene/pull/15233#issuecomment-3353662333
> I tried testing the scenario you mentioned, added writer.commit() under
the try (DirectoryReader reader =
maybeWrapWithMergingReader(DirectoryReader.open(dir))) { , but it fails with
the same error.
I think Mike's suggestion was to add a `writer.commit()` call right after
the `RandomIndexWriter writer = new RandomIndexWriter(random(), dir, conf);`
line. That is -- write an empty commit as soon as the writer is opened.
@msokolov, was that what you had in mind?
--
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]