Today we have 3 different kinds of FilterIndexReader. While FilterDirecotryReader
and FilterLeafReader are simple to distinguish, FilterCodecReader make decision harder
since now we need instanceof checks to deside which unwrap method we should call. This
adds a simple interface that allows to build generic unwrap methods to access the delegat
of each of the filtering readers.
- links to