Apache Lucene.Net 2.4.0 Class Library API

IndexFileDeleter.Refresh Method (String)

Writer calls this when it has hit an error and had to roll back, to tell us that there may now be unreferenced files in the filesystem. So we re-list the filesystem and delete such files. If segmentName is non-null, we will only delete files corresponding to that segment.

public void Refresh(
   string segmentName
);

See Also

IndexFileDeleter Class | Lucene.Net.Index Namespace | IndexFileDeleter.Refresh Overload List