diff src/goodjava/lucene/api/GoodIndexWriter.java @ 1539:c27dc6af87ca

remove nextId
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 06 Sep 2020 11:35:30 -0600
parents 3bd4d7963456
children 35601f15ecc3
line wrap: on
line diff
--- a/src/goodjava/lucene/api/GoodIndexWriter.java	Fri Aug 07 21:42:16 2020 -0600
+++ b/src/goodjava/lucene/api/GoodIndexWriter.java	Sun Sep 06 11:35:30 2020 -0600
@@ -2,9 +2,8 @@
 
 import java.io.IOException;
 import java.util.Map;
-import org.apache.lucene.index.LiveIndexWriterConfig;
+import org.apache.lucene.index.IndexWriter;
 import org.apache.lucene.search.Query;
-import org.apache.lucene.store.Directory;
 
 
 public interface GoodIndexWriter {
@@ -16,6 +15,5 @@
 	public void addDocument(Map<String,Object> storedFields) throws IOException;
 	public void updateDocument(String keyFieldName,Map<String,Object> storedFields) throws IOException;
 	public void reindexDocuments(String keyFieldName,Query query) throws IOException;
-	public Directory getDirectory();
-	public LiveIndexWriterConfig getLuceneConfig();
+	public IndexWriter getLuceneIndexWriter();
 }