Simon Willnauer created LUCENE-8503:
---------------------------------------
Summary: Simplify unwrapping Filter*Reader
Key: LUCENE-8503
URL: https://issues.apache.org/jira/browse/LUCENE-8503
Project: Lucene - Core
Issue Type: Improvement
Affects Versions: 7.5, master (8.0)
Reporter: Simon Willnauer
Fix For: 7.6, master (8.0)
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.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]