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.

Namespace: Lucene.Net.Index
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
public void Refresh(
	string segmentName
)
Visual Basic
Public Sub Refresh ( _
	segmentName As String _
)
Visual C++
public:
void Refresh(
	String^ segmentName
)

Parameters

segmentName
Type: System..::..String

[Missing <param name="segmentName"/> documentation for "M:Lucene.Net.Index.IndexFileDeleter.Refresh(System.String)"]

See Also