Class NoDeletionPolicy
An IndexDeletionPolicy which keeps all index commits around, never
deleting them. This class is a singleton and can be accessed by referencing
INSTANCE.
Inheritance
System.Object
NoDeletionPolicy
Assembly: Lucene.Net.dll
Syntax
public sealed class NoDeletionPolicy : IndexDeletionPolicy
Fields
|
Improve this Doc
View Source
INSTANCE
The single instance of this class.
Declaration
public static readonly IndexDeletionPolicy INSTANCE
Field Value
Methods
|
Improve this Doc
View Source
Clone()
Declaration
public override object Clone()
Returns
Type |
Description |
System.Object |
|
Overrides
|
Improve this Doc
View Source
OnCommit<T>(IList<T>)
Declaration
public override void OnCommit<T>(IList<T> commits)
where T : IndexCommit
Parameters
Type |
Name |
Description |
IList<T> |
commits |
|
Type Parameters
Overrides
Lucene.Net.Index.IndexDeletionPolicy.OnCommit<T>(IList<T>)
|
Improve this Doc
View Source
OnInit<T>(IList<T>)
Declaration
public override void OnInit<T>(IList<T> commits)
where T : IndexCommit
Parameters
Type |
Name |
Description |
IList<T> |
commits |
|
Type Parameters
Overrides
Lucene.Net.Index.IndexDeletionPolicy.OnInit<T>(IList<T>)