While experimenting with indexReader 'components', I've got this thought:
What if we always create MultiSegmentReader when (re)opening an index,
even if index contains a single segment?
Using unwrapped SegmentReader for single-segment case was a valid
optimization for the times when Lucene did
I tentatively think that's a good idea. The reopen logic is quite hairy...
Wanna make a separate patch for that?
Mike
On Sun, May 17, 2009 at 8:37 AM, Earwin Burrfoot ear...@gmail.com wrote:
While experimenting with indexReader 'components', I've got this thought:
What if we always create