/** * Create a new FilterDirectoryReader that filters a passed in DirectoryReader, * using the supplied SubReaderWrapper to wrap its subreader. * @param in the DirectoryReader to filter * @param wrapper the SubReaderWrapper to use to wrap subreaders */ public FilterDirectoryReader(DirectoryReader in, SubReaderWrapper wrapper) throws IOException { super(in.directory(), wrapper.wrap(in.getSequentialSubReaders())); this.in = in; }
/** * Create a new FilterDirectoryReader that filters a passed in DirectoryReader, * using the supplied SubReaderWrapper to wrap its subreader. * @param in the DirectoryReader to filter * @param wrapper the SubReaderWrapper to use to wrap subreaders */ public FilterDirectoryReader(DirectoryReader in, SubReaderWrapper wrapper) throws IOException { super(in.directory(), wrapper.wrap(in.getSequentialSubReaders())); this.in = in; }
/** * Create a new FilterDirectoryReader that filters a passed in DirectoryReader, * using the supplied SubReaderWrapper to wrap its subreader. * @param in the DirectoryReader to filter * @param wrapper the SubReaderWrapper to use to wrap subreaders */ public FilterDirectoryReader(DirectoryReader in, SubReaderWrapper wrapper) throws IOException { super(in.directory(), wrapper.wrap(in.getSequentialSubReaders())); this.in = in; }
/** * Create a new FilterDirectoryReader that filters a passed in DirectoryReader, * using the supplied SubReaderWrapper to wrap its subreader. * @param in the DirectoryReader to filter * @param wrapper the SubReaderWrapper to use to wrap subreaders */ public FilterDirectoryReader(DirectoryReader in, SubReaderWrapper wrapper) throws IOException { super(in.directory(), wrapper.wrap(in.getSequentialSubReaders())); this.in = in; }