Class KeepOnlyLastCommitDeletionPolicy
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.
Inherited Members
Assembly: DistributedLucene.Net.dll
Syntax
public sealed class KeepOnlyLastCommitDeletionPolicy : IndexDeletionPolicy
Constructors
Name | Description |
---|---|
KeepOnlyLastCommitDeletionPolicy() | Sole constructor. |
Methods
Name | Description |
---|---|
OnCommit<T>(IList<T>) | Deletes all commits except the most recent one. |
OnInit<T>(IList<T>) | Deletes all commits except the most recent one. |