Lucene.Net  3.0.3
Lucene.Net is a port of the Lucene search engine library, written in C# and targeted at .NET runtime users.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Pages
Classes | Namespaces | Typedefs
SnapshotDeletionPolicy.cs File Reference

Go to the source code of this file.

Classes

class  Lucene.Net.Index.SnapshotDeletionPolicy
 A IndexDeletionPolicy that wraps around any other IndexDeletionPolicy and adds the ability to hold and later release a single "snapshot" of an index. While the snapshot is held, the IndexWriter will not remove any files associated with it even if the index is otherwise being actively, arbitrarily changed. Because we wrap another arbitrary IndexDeletionPolicy, this gives you the freedom to continue using whatever IndexDeletionPolicy you would normally want to use with your index. Note that you can re-use a single instance of SnapshotDeletionPolicy across multiple writers as long as they are against the same index Directory. Any snapshot held when a writer is closed will "survive" when the next writer is opened. More...
 

Namespaces

package  Lucene.Net.Index
 

Typedefs

using Directory = Lucene.Net.Store.Directory
 

Typedef Documentation

Definition at line 20 of file SnapshotDeletionPolicy.cs.