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 IndexDeletionPolicyCreateIndexTask. 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 classKeepOnlyLastCommitDeletionPolicyThisIndexDeletionPolicyimplementation that keeps only the most recent commit and immediately removes all prior commits after a new commit is done.classNoDeletionPolicyAnIndexDeletionPolicywhich keeps all index commits around, never deleting them.classPersistentSnapshotDeletionPolicyASnapshotDeletionPolicywhich adds a persistence layer so that snapshots can be maintained across the life of an application.classSnapshotDeletionPolicyAnIndexDeletionPolicythat wraps around any otherIndexDeletionPolicyand 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 IndexDeletionPolicyNoDeletionPolicy. INSTANCEThe single instance of this class.Methods in org.apache.lucene.index that return IndexDeletionPolicy Modifier and Type Method Description IndexDeletionPolicyIndexWriterConfig. getIndexDeletionPolicy()Returns theIndexDeletionPolicyspecified inIndexWriterConfig.setIndexDeletionPolicy(IndexDeletionPolicy)or the defaultKeepOnlyLastCommitDeletionPolicy/Methods in org.apache.lucene.index with parameters of type IndexDeletionPolicy Modifier and Type Method Description static IndexReaderIndexReader. open(IndexCommit commit, IndexDeletionPolicy deletionPolicy, boolean readOnly)Deprecated.Write support will be removed in Lucene 4.0.static IndexReaderIndexReader. open(IndexCommit commit, IndexDeletionPolicy deletionPolicy, boolean readOnly, int termInfosIndexDivisor)Deprecated.Write support will be removed in Lucene 4.0.static IndexReaderIndexReader. open(Directory directory, IndexDeletionPolicy deletionPolicy, boolean readOnly)Deprecated.Write support will be removed in Lucene 4.0.static IndexReaderIndexReader. open(Directory directory, IndexDeletionPolicy deletionPolicy, boolean readOnly, int termInfosIndexDivisor)Deprecated.Write support will be removed in Lucene 4.0.IndexWriterConfigIndexWriterConfig. setIndexDeletionPolicy(IndexDeletionPolicy delPolicy)Expert: allows an optionalIndexDeletionPolicyimplementation to be specified.
-