@Override
  public IndexOutput createOutput(final String name, final IOContext context) throws IOException {
    ensureOpen();
    final File file = fs.createFile(name);
    final OutputStream out = file.getOutputStream();

    return new OutputStreamIndexOutput(name, name, out, 1000);
  }
Create a region directory with a given file and chunk region. These regions may be bucket
regions or they may be replicated regions.
geode-lucene/src/main/java/org/apache/geode/cache/lucene/internal/directory/RegionDirectory.java