Mercurial Hosting > luan
diff src/luan/modules/lucene/LuceneIndex.java @ 1129:3234a14bb1f8
minor lucene changes
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Mon, 04 Dec 2017 01:26:57 -0700 |
parents | 88b5b81cad4a |
children | cb422386f6b5 |
line wrap: on
line diff
--- a/src/luan/modules/lucene/LuceneIndex.java Sun Nov 26 21:16:39 2017 -0700 +++ b/src/luan/modules/lucene/LuceneIndex.java Mon Dec 04 01:26:57 2017 -0700 @@ -304,6 +304,10 @@ } } */ + public SnapshotDeletionPolicy snapshotDeletionPolicy() { + return snapshotDeletionPolicy; + } + public Object snapshot(LuanState luan,LuanFunction fn) throws LuanException, IOException { IndexCommit ic = snapshotDeletionPolicy.snapshot(); try {