Apache Lucene.Net 2.4.0 Class Library API

SnapshotDeletionPolicy Methods

The methods of the SnapshotDeletionPolicy class are listed below. For a complete list of SnapshotDeletionPolicy class members, see the SnapshotDeletionPolicy Members topic.

Public Instance Methods

Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
OnCommit 
OnInit 
ReleaseRelease the currently held snapshot.
SnapshotTake a snapshot of the most recent commit to the index. You must call release() to free this snapshot. Note that while the snapshot is held, the files it references will not be deleted, which will consume additional disk space in your index. If you take a snapshot at a particularly bad time (say just before you call optimize()) then in the worst case this could consume an extra 1X of your total index size, until you release the snapshot.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

SnapshotDeletionPolicy Class | Lucene.Net.Index Namespace