is it just me, or does it seem like the base class versions of
getVersion(), isOptimized(), and isCurrent() in IndexReader should all
throw UnsupportedOperationException?
(it seems like ideally they should abstract, but that ship/API has sailed)
: This patch fixes ParallelReader similar to LUCE
Chris Hostetter wrote:
> is it just me, or does it seem like the base class versions of
> getVersion(), isOptimized(), and isCurrent() in IndexReader should all
> throw UnsupportedOperationException?
>
> (it seems like ideally they should abstract, but that ship/API has sailed)
>
>
Hoss,
I thi
: We just have to make segmentInfos in IndexReader protected so that
: subclasses can implement the methods.
isn't segmentInfos the kind of thing that should be refactored into the
subclasses? there might be a little duplication, but it shouldn't be
significant (and it helps eliminate the odds o
Chris Hostetter wrote:
>
> isn't segmentInfos the kind of thing that should be refactored into the
> subclasses? there might be a little duplication, but it shouldn't be
> significant (and it helps eliminate the odds of other problems like this
> in the future as more features/methods get added).