|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.getopt.luke.KeepLastIndexDeletionPolicy
public class KeepLastIndexDeletionPolicy
Constructor Summary | |
---|---|
KeepLastIndexDeletionPolicy()
|
Method Summary | |
---|---|
void |
onCommit(java.util.List commits)
Deletes all commits except the most recent one. |
void |
onInit(java.util.List commits)
Deletes all commits except the most recent one. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public KeepLastIndexDeletionPolicy()
Method Detail |
---|
public void onInit(java.util.List commits)
onInit
in interface org.apache.lucene.index.IndexDeletionPolicy
public void onCommit(java.util.List commits)
onCommit
in interface org.apache.lucene.index.IndexDeletionPolicy
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |