createOutput
Creates a new, empty file in the directory and returns an IndexOutput instance for appending data to this file.
This method must throw java.nio.file.FileAlreadyExistsException if the file already exists.
Parameters
name
the name of the file to create.
Throws
IOException
in case of I/O error