Package org.apache.lucene.index
Class SlowCodecReaderWrapper
java.lang.Object
org.apache.lucene.index.SlowCodecReaderWrapper
Wraps arbitrary readers for merging. Note that this can cause slow and memory-intensive merges.
Consider using
FilterCodecReader
instead.-
Method Summary
Modifier and TypeMethodDescriptionstatic CodecReader
wrap
(LeafReader reader) Returns aCodecReader
view of reader.
-
Method Details
-
wrap
Returns aCodecReader
view of reader.If
reader
is already aCodecReader
, it is returned directly. Otherwise, a (slow) view is returned.- Throws:
IOException
-