public IndexOutput createOutput(String name, IOContext context) throws IOException {ensureOpen();if (context.context != Context.MERGE || context.mergeInfo.estimatedMergeBytes < minBytesDirect) {return delegate.createOutput(name, context);} else {return new NativeUnixIndexOutput(getDirectory().resolve(name), name, mergeBufferSize);}}

public IndexOutput createOutput(string name, IOContext context) throws IOException{ensureOpen();if (context.context != Context.MERGE || context.mergeInfo.estimatedMergeBytes < minBytesDirect){return @delegate.createOutput(name, context);}else{ensureCanWrite(name);return new NativeUnixIndexOutput(new File(Directory, name), mergeBufferSize);}}
