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);}}

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(new File(Directory, name), mergeBufferSize);}}
