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