Lucene.Net
3.0.3
Lucene.Net is a .NET port of the Java Lucene Indexing Library
|
This IndexDeletionPolicy implementation that keeps only the most recent commit and immediately removes all prior commits after a new commit is done. This is the default deletion policy. More...
Inherits Lucene.Net.Index.IndexDeletionPolicy.
Public Member Functions | |
void | OnInit< T > (IList< T > commits) |
Deletes all commits except the most recent one. | |
void | OnCommit< T > (IList< T > commits) |
Deletes all commits except the most recent one. | |
This IndexDeletionPolicy implementation that keeps only the most recent commit and immediately removes all prior commits after a new commit is done. This is the default deletion policy.
Definition at line 29 of file KeepOnlyLastCommitDeletionPolicy.cs.
void Lucene.Net.Index.KeepOnlyLastCommitDeletionPolicy.OnCommit< T > | ( | IList< T > | commits | ) |
Deletes all commits except the most recent one.
Implements Lucene.Net.Index.IndexDeletionPolicy.
T | : | IndexCommit |
Definition at line 40 of file KeepOnlyLastCommitDeletionPolicy.cs.
void Lucene.Net.Index.KeepOnlyLastCommitDeletionPolicy.OnInit< T > | ( | IList< T > | commits | ) |
Deletes all commits except the most recent one.
Implements Lucene.Net.Index.IndexDeletionPolicy.
T | : | IndexCommit |
Definition at line 33 of file KeepOnlyLastCommitDeletionPolicy.cs.