Mercurial Hosting > luan
view src/goodjava/lucene/logging/OpDoer.java @ 2041:cd51e7e31950 acme-tiny
use try/catch/finally to clean up temp dir even on error
| author | Violet7 |
|---|---|
| date | Sun, 09 Nov 2025 01:56:58 -0800 |
| parents | 52241b69c339 |
| children |
line wrap: on
line source
package goodjava.lucene.logging; import java.io.IOException; import java.util.Map; import org.apache.lucene.search.Query; import goodjava.lucene.api.GoodIndexWriter; public interface OpDoer { public void commit() throws IOException; public void deleteAll(long time) throws IOException; public void deleteDocuments(long time,Query query) throws IOException; public void addDocument(long time,Map<String,Object> storedFields) throws IOException; public void updateDocument(long time,String keyFieldName,Map<String,Object> storedFields) throws IOException; public void tag(long time,String tag) throws IOException; }
