I added a test case to TestDirectoryReaderReopen that tests an
experiment of mine with a FilterDirectoryReader.

It fails in

org.apache.lucene.index.TestDirectoryReaderReopen#performDefaultTests

at

  index2_refreshed.close();
    assertReaderClosed(index2, true);

So it seems that the reader returned by my filter's doOpenIfChanged is
not properly coupled to the original. Is this something I need to
code, something missing from FilterDirectoryReader, or something that
isn't supposed to work?

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

Reply via email to