Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
4.0-ALPHA
-
None
-
None
-
None
-
New, Patch Available
Description
Since LUCENE-2459, getSequentialSubReaders() in FilterIndexReader returns null, so it returns an atomic reader. But If you call then any of the enum methods, it throws Exception because the underlying reader is not atomic.
We should move the null-returning method to SlowMultiReaderWrapper and fix FilterIndexReader's default to return in.getSequentialSubReaders(). Ideally an implementation must of course also wrap the sub-readers.
If we change this we have to look into other Impls like the MultiPassIndexSplitter if we need to add atomicity.
Attachments
Attachments
Issue Links
- is broken by
-
LUCENE-2459 FilterIndexReader doesn't work correctly with post-flex SegmentMerger
- Closed
- is related to
-
LUCENE-1720 TimeLimitedIndexReader and associated utility class
- Open
-
LUCENE-2771 Remove norms() support from non-atomic IndexReaders
- Closed
-
LUCENE-2770 Optimize SegmentMerger to work on atomic (Segment)Readers where possible
- Closed