LUCENE-2858: Fix the ensureOpen() bug in SlowCompositeReaderWrapper: It cached the MultiFields in its ctor, but when the underlying reader was closed the cached fields were not valid anymore. The test did not close the slow reader but the inner DR. I also added a missing ensureOpen() in SR.
|