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.
Directory Class | Lucene.Net.Store Namespace