Mercurial Hosting > luan
view src/goodjava/lucene/api/GoodIndexWriter.java @ 2036:2740f8a9ba3a acme-tiny tip
First test prototype (also convert spaces to tabs and remove *.orig files)
| author | Violet7 |
|---|---|
| date | Wed, 05 Nov 2025 21:49:39 -0800 |
| parents | 41c32da4cbd1 |
| children |
line wrap: on
line source
package goodjava.lucene.api; import java.io.IOException; import java.util.Map; import org.apache.lucene.index.IndexReader; import org.apache.lucene.index.IndexWriter; import org.apache.lucene.search.Query; public interface GoodIndexWriter { public IndexReader openReader() throws IOException; public void commit() throws IOException; public void deleteAll() throws IOException; public void deleteDocuments(Query query) throws IOException; public void addDocument(Map<String,Object> storedFields) throws IOException; public void updateDocument(String keyFieldName,Map<String,Object> storedFields) throws IOException; public void tag(String tag) throws IOException; public void close() throws IOException; public void rollback() throws IOException; public void reindexDocuments(String keyFieldName,Query query) throws IOException; public IndexWriter getLuceneIndexWriter(); }
