PageRenderTime 48ms CodeModel.GetById 40ms app.highlight 2ms RepoModel.GetById 5ms app.codeStats 0ms

/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
 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}