Uses of Class
Packages that use IndexDeletionPolicy Package Description org.apache.lucene.indexCode to maintain and access indices.
Uses of IndexDeletionPolicy in org.apache.lucene.index
Subclasses of IndexDeletionPolicy in org.apache.lucene.index Modifier and Type Class Description
IndexDeletionPolicyimplementation that keeps only the most recent commit and immediately removes all prior commits after a new commit is done.
IndexDeletionPolicywhich keeps all index commits around, never deleting them.
SnapshotDeletionPolicywhich adds a persistence layer so that snapshots can be maintained across the life of an application.
Fields in org.apache.lucene.index declared as IndexDeletionPolicy Modifier and Type Field Description
IndexDeletionPolicycontrolling when commit points are deleted.
INSTANCEThe single instance of this class.
Methods in org.apache.lucene.index that return IndexDeletionPolicy Modifier and Type Method Description
IndexWriterConfig.setIndexDeletionPolicy(IndexDeletionPolicy)or the default
Methods in org.apache.lucene.index with parameters of type IndexDeletionPolicy Modifier and Type Method Description
setIndexDeletionPolicy(IndexDeletionPolicy delPolicy)Expert: allows an optional
IndexDeletionPolicyimplementation to be specified.
Constructors in org.apache.lucene.index with parameters of type IndexDeletionPolicy Constructor Description
PersistentSnapshotDeletionPolicy(IndexDeletionPolicy primary, Directory dir)
PersistentSnapshotDeletionPolicy(IndexDeletionPolicy primary, Directory dir, IndexWriterConfig.OpenMode mode)
SnapshotDeletionPolicy(IndexDeletionPolicy primary)Sole constructor, taking the incoming