Mercurial Hosting > luan
diff src/goodjava/lucene/api/LuceneIndexWriter.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/LuceneIndexWriter.java Fri Aug 07 21:42:16 2020 -0600 +++ b/src/goodjava/lucene/api/LuceneIndexWriter.java Sun Sep 06 11:35:30 2020 -0600 @@ -46,12 +46,8 @@ luceneWriter.commit(); // commit index creation } - public Directory getDirectory() { - return luceneWriter.getDirectory(); - } - - public LiveIndexWriterConfig getLuceneConfig() { - return luceneWriter.getConfig(); + public IndexWriter getLuceneIndexWriter() { + return luceneWriter; } public void close() throws IOException {