org.compass.core.lucene.engine.indexdeletionpolicy
Class KeepAllDeletionPolicy
java.lang.Object
org.compass.core.lucene.engine.indexdeletionpolicy.KeepAllDeletionPolicy
- All Implemented Interfaces:
- IndexDeletionPolicy
public class KeepAllDeletionPolicy
- extends Object
- implements IndexDeletionPolicy
An index deletion policy that does not delete any commits, old or new.
- Author:
- kimchy
- See Also:
IndexDeletionPolicyFactory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KeepAllDeletionPolicy
public KeepAllDeletionPolicy()
onInit
public void onInit(List commits)
throws IOException
- Specified by:
onInit
in interface IndexDeletionPolicy
- Throws:
IOException
onCommit
public void onCommit(List commits)
throws IOException
- Specified by:
onCommit
in interface IndexDeletionPolicy
- Throws:
IOException
Copyright (c) 2004-2008 The Compass Project.