Writes & syncs to the Directory dir, taking care to remove the segments file on exception

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

Syntax

C#
public void Commit(
	Directory dir
)
Visual Basic
Public Sub Commit ( _
	dir As Directory _
)
Visual C++
public:
void Commit(
	Directory^ dir
)

Parameters

dir
Type: Lucene.Net.Store..::..Directory

[Missing <param name="dir"/> documentation for "M:Lucene.Net.Index.SegmentInfos.Commit(Lucene.Net.Store.Directory)"]

See Also