/tags/3.3.0/src/org/getopt/luke/KeepAllIndexDeletionPolicy.java
Java | 18 lines | 10 code | 6 blank | 2 comment | 0 complexity | 4ac503bcbcba433c0570671a942e00c6 MD5 | raw file
1package org.getopt.luke; 2 3import java.io.IOException; 4import java.util.List; 5 6import org.apache.lucene.index.IndexDeletionPolicy; 7 8public class KeepAllIndexDeletionPolicy implements IndexDeletionPolicy { 9 10 public void onCommit(List commits) throws IOException { 11 // do nothing - keep all points 12 } 13 14 public void onInit(List commits) throws IOException { 15 // do nothing - keep all points 16 } 17 18}