Deletes all commits except the most recent one.

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

Syntax

C#
public void OnCommit(
	IList commits
)
Visual Basic
Public Sub OnCommit ( _
	commits As IList _
)
Visual C++
public:
virtual void OnCommit(
	IList^ commits
) sealed

Parameters

commits
Type: System.Collections..::..IList

[Missing <param name="commits"/> documentation for "M:Lucene.Net.Index.KeepOnlyLastCommitDeletionPolicy.OnCommit(System.Collections.IList)"]

Implements

IndexDeletionPolicy..::..OnCommit(IList)

See Also