Lucene.Net 1.4.3 Class Library

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 should be atomic.

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

See Also

Directory Class | Lucene.Net.Store Namespace