Method OnCommit
OnCommit<T>(IList<T>)
Deletes all commits except the most recent one.
Declaration
public override void OnCommit<T>(IList<T> commits)
where T : IndexCommit
Parameters
Type | Name | Description |
---|---|---|
IList<T> | commits |
Type Parameters
Name | Description |
---|---|
T |
Overrides
Lucene.Net.Index.IndexDeletionPolicy.OnCommit<T>(IList<T>)