Apache Lucene.Net 2.4.0 Class Library API

KeepOnlyLastCommitDeletionPolicy Class

This {@link 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.

For a list of all members of this type, see KeepOnlyLastCommitDeletionPolicy Members.

System.Object
   Lucene.Net.Index.KeepOnlyLastCommitDeletionPolicy

public sealed class KeepOnlyLastCommitDeletionPolicy : IndexDeletionPolicy

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Requirements

Namespace: Lucene.Net.Index

Assembly: Lucene.Net (in Lucene.Net.dll)

See Also

KeepOnlyLastCommitDeletionPolicy Members | Lucene.Net.Index Namespace