Ensure that any writes to this file are moved to stable storage. Lucene uses this to properly commit changes to the index, to prevent a machine/OS crash from corrupting the index.

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

Syntax

C#
public virtual void Sync(
	string name
)
Visual Basic
Public Overridable Sub Sync ( _
	name As String _
)
Visual C++
public:
virtual void Sync(
	String^ name
)

Parameters

name
Type: System..::..String

[Missing <param name="name"/> documentation for "M:Lucene.Net.Store.Directory.Sync(System.String)"]

See Also