1548
|
1 package goodjava.lucene.logging;
|
|
2
|
|
3 import java.io.IOException;
|
|
4 import java.util.Map;
|
|
5 import org.apache.lucene.search.Query;
|
1549
|
6 import goodjava.lucene.api.GoodIndexWriter;
|
1548
|
7
|
|
8
|
1551
|
9 public interface OpDoer {
|
|
10 public void commit() throws IOException;
|
|
11 public void deleteAll(long time) throws IOException;
|
|
12 public void deleteDocuments(long time,Query query) throws IOException;
|
|
13 public void addDocument(long time,Map<String,Object> storedFields) throws IOException;
|
|
14 public void updateDocument(long time,String keyFieldName,Map<String,Object> storedFields) throws IOException;
|
|
15 public void tag(long time,String tag) throws IOException;
|
1548
|
16 }
|