text: public IndexInput openInput(String name, IOContext context) throws IOException {ensureOpen();if (context.context != Context.MERGE || context.mergeInfo.estimatedMergeBytes < minBytesDirect || fileLength(name) < minBytesDirect) {return delegate.openInput(name, context);} else {return new NativeUnixIndexInput(getDirectory().resolve(name), mergeBufferSize);}}