changeset 1534:3289674cc440

minor
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 02 Aug 2020 21:21:35 -0600
parents 28f06ac6ce39
children e73b72a510b4
files src/luan/modules/lucene/Lucene.luan
diffstat 1 files changed, 2 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/src/luan/modules/lucene/Lucene.luan	Sun Aug 02 21:17:27 2020 -0600
+++ b/src/luan/modules/lucene/Lucene.luan	Sun Aug 02 21:21:35 2020 -0600
@@ -57,8 +57,8 @@
 	index.snapshot = java_index.snapshot
 	index.advanced_search = java_index.advanced_search
 	index.search_in_transaction = java_index.search_in_transaction
-	--index.delete_all = java_index.delete_all
-	--index.delete = java_index.delete
+	index.delete_all = java_index.delete_all
+	index.delete = java_index.delete
 	--index.save = java_index.save
 	index.is_in_transaction = java_index.is_in_transaction
 	index.run_in_transaction = java_index.run_in_transaction
@@ -82,16 +82,6 @@
 		end
 	end
 
-	function index.delete_all()
-		index.check_in_transaction()
-		java_index.delete_all()
-	end
-
-	function index.delete(query)
-		index.check_in_transaction()
-		java_index.delete(query)
-	end
-
 	function index.save(doc)
 		index.check_in_transaction()
 		java_index.save(doc)