Uses of Interface
org.apache.lucene.index.IndexDeletionPolicy
-
Packages that use IndexDeletionPolicy Package Description org.apache.lucene.benchmark.byTask.tasks Extendable benchmark tasks.org.apache.lucene.index Code to maintain and access indices. -
-
Uses of IndexDeletionPolicy in org.apache.lucene.benchmark.byTask.tasks
Methods in org.apache.lucene.benchmark.byTask.tasks that return IndexDeletionPolicy Modifier and Type Method Description static IndexDeletionPolicy
CreateIndexTask. getIndexDeletionPolicy(Config config)
-
Uses of IndexDeletionPolicy in org.apache.lucene.index
Classes in org.apache.lucene.index that implement IndexDeletionPolicy Modifier and Type Class Description class
KeepOnlyLastCommitDeletionPolicy
ThisIndexDeletionPolicy
implementation that keeps only the most recent commit and immediately removes all prior commits after a new commit is done.class
NoDeletionPolicy
AnIndexDeletionPolicy
which keeps all index commits around, never deleting them.class
PersistentSnapshotDeletionPolicy
ASnapshotDeletionPolicy
which adds a persistence layer so that snapshots can be maintained across the life of an application.class
SnapshotDeletionPolicy
AnIndexDeletionPolicy
that wraps around any otherIndexDeletionPolicy
and adds the ability to hold and later release snapshots of an index.Fields in org.apache.lucene.index declared as IndexDeletionPolicy Modifier and Type Field Description static IndexDeletionPolicy
NoDeletionPolicy. INSTANCE
The single instance of this class.Methods in org.apache.lucene.index that return IndexDeletionPolicy Modifier and Type Method Description IndexDeletionPolicy
IndexWriterConfig. getIndexDeletionPolicy()
Returns theIndexDeletionPolicy
specified inIndexWriterConfig.setIndexDeletionPolicy(IndexDeletionPolicy)
or the defaultKeepOnlyLastCommitDeletionPolicy
/Methods in org.apache.lucene.index with parameters of type IndexDeletionPolicy Modifier and Type Method Description static IndexReader
IndexReader. open(IndexCommit commit, IndexDeletionPolicy deletionPolicy, boolean readOnly)
Deprecated.Write support will be removed in Lucene 4.0.static IndexReader
IndexReader. open(IndexCommit commit, IndexDeletionPolicy deletionPolicy, boolean readOnly, int termInfosIndexDivisor)
Deprecated.Write support will be removed in Lucene 4.0.static IndexReader
IndexReader. open(Directory directory, IndexDeletionPolicy deletionPolicy, boolean readOnly)
Deprecated.Write support will be removed in Lucene 4.0.static IndexReader
IndexReader. open(Directory directory, IndexDeletionPolicy deletionPolicy, boolean readOnly, int termInfosIndexDivisor)
Deprecated.Write support will be removed in Lucene 4.0.IndexWriterConfig
IndexWriterConfig. setIndexDeletionPolicy(IndexDeletionPolicy delPolicy)
Expert: allows an optionalIndexDeletionPolicy
implementation to be specified.
-