Uses of Interface org.apache.lucene.index.IndexDeletionPolicy (Lucene 3.6.2 API)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Interface
org.apache.lucene.index.IndexDeletionPolicy

Packages that use IndexDeletionPolicy
org.apache.lucene.index | Code to maintain and access indices.

Uses of IndexDeletionPolicy in org.apache.lucene.index

Classes in org.apache.lucene.index that implement IndexDeletionPolicy
`class` | `KeepOnlyLastCommitDeletionPolicy` This `IndexDeletionPolicy` implementation that keeps only the most recent commit and immediately removes all prior commits after a new commit is done.
`class` | `NoDeletionPolicy` An `IndexDeletionPolicy` which keeps all index commits around, never deleting them.
`class` | `PersistentSnapshotDeletionPolicy` A `SnapshotDeletionPolicy` which adds a persistence layer so that snapshots can be maintained across the life of an application.
`class` | `SnapshotDeletionPolicy` An `IndexDeletionPolicy` that wraps around any other `IndexDeletionPolicy` and adds the ability to hold and later release snapshots of an index.

Fields in org.apache.lucene.index declared as IndexDeletionPolicy
`static IndexDeletionPolicy` | `NoDeletionPolicy.INSTANCE` The single instance of this class.

Methods in org.apache.lucene.index that return IndexDeletionPolicy
`IndexDeletionPolicy` | `IndexWriterConfig.getIndexDeletionPolicy()` Returns the `IndexDeletionPolicy` specified in `IndexWriterConfig.setIndexDeletionPolicy(IndexDeletionPolicy)` or the default `KeepOnlyLastCommitDeletionPolicy`/

Methods in org.apache.lucene.index with parameters of type IndexDeletionPolicy
`static IndexReader` | `IndexReader.open(Directory directory, IndexDeletionPolicy deletionPolicy, boolean readOnly)` Deprecated. Write support will be removed in Lucene 4.0. Use `IndexReader.open(Directory)` instead
`static IndexReader` | `IndexReader.open(Directory directory, IndexDeletionPolicy deletionPolicy, boolean readOnly, int termInfosIndexDivisor)` Deprecated. Write support will be removed in Lucene 4.0. Use `IndexReader.open(Directory,int)` instead
`static IndexReader` | `IndexReader.open(IndexCommit commit, IndexDeletionPolicy deletionPolicy, boolean readOnly)` Deprecated. Write support will be removed in Lucene 4.0. Use `IndexReader.open(IndexCommit)` instead
`static IndexReader` | `IndexReader.open(IndexCommit commit, IndexDeletionPolicy deletionPolicy, boolean readOnly, int termInfosIndexDivisor)` Deprecated. Write support will be removed in Lucene 4.0. Use `IndexReader.open(IndexCommit,int)` instead
`IndexWriterConfig` | `IndexWriterConfig.setIndexDeletionPolicy(IndexDeletionPolicy delPolicy)` Expert: allows an optional `IndexDeletionPolicy` implementation to be specified.

Constructors in org.apache.lucene.index with parameters of type IndexDeletionPolicy
`IndexWriter(Directory d, Analyzer a, boolean create, IndexDeletionPolicy deletionPolicy, IndexWriter.MaxFieldLength mfl)` Deprecated. use `IndexWriter.IndexWriter(Directory, IndexWriterConfig)` instead
`IndexWriter(Directory d, Analyzer a, IndexDeletionPolicy deletionPolicy, IndexWriter.MaxFieldLength mfl)` Deprecated. use `IndexWriter.IndexWriter(Directory, IndexWriterConfig)` instead
`IndexWriter(Directory d, Analyzer a, IndexDeletionPolicy deletionPolicy, IndexWriter.MaxFieldLength mfl, IndexCommit commit)` Deprecated. use `IndexWriter.IndexWriter(Directory, IndexWriterConfig)` instead
`PersistentSnapshotDeletionPolicy(IndexDeletionPolicy primary, Directory dir, IndexWriterConfig.OpenMode mode, Version matchVersion)` `PersistentSnapshotDeletionPolicy` wraps another `IndexDeletionPolicy` to enable flexible snapshotting.
`SnapshotDeletionPolicy(IndexDeletionPolicy primary)`
`SnapshotDeletionPolicy(IndexDeletionPolicy primary, Map<String,String> snapshotsInfo)` `SnapshotDeletionPolicy` wraps another `IndexDeletionPolicy` to enable flexible snapshotting.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES