/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
- package org.getopt.luke;
- import java.io.IOException;
- import java.util.List;
- import org.apache.lucene.index.IndexDeletionPolicy;
- public class KeepAllIndexDeletionPolicy implements IndexDeletionPolicy {
- public void onCommit(List commits) throws IOException {
- // do nothing - keep all points
- }
- public void onInit(List commits) throws IOException {
- // do nothing - keep all points
- }
- }