Apache Lucene.Net 2.4.0 Class Library API

Directory.RenameFile Method 

Renames an existing file in the directory. If a file already exists with the new name, then it is replaced. This replacement is not guaranteed to be atomic.

public abstract void RenameFile(
   string from,
   string to
);

See Also

Directory Class | Lucene.Net.Store Namespace