/tags/3.3.0/src/org/getopt/luke/KeepAllIndexDeletionPolicy.java

http://luke.googlecode.com/ · Java · 18 lines · 10 code · 6 blank · 2 comment · 0 complexity · 4ac503bcbcba433c0570671a942e00c6 MD5 · raw file

  1. package org.getopt.luke;
  2. import java.io.IOException;
  3. import java.util.List;
  4. import org.apache.lucene.index.IndexDeletionPolicy;
  5. public class KeepAllIndexDeletionPolicy implements IndexDeletionPolicy {
  6. public void onCommit(List commits) throws IOException {
  7. // do nothing - keep all points
  8. }
  9. public void onInit(List commits) throws IOException {
  10. // do nothing - keep all points
  11. }
  12. }