diff scripts/test.luan @ 547:0be287ab0309

add lucene/Versioning and simplify Lucene fn names
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 15 Jun 2015 01:22:58 -0600
parents c5a93767cc5c
children f4dfe9c64c25
line wrap: on
line diff
--- a/scripts/test.luan	Sun Jun 14 22:17:58 2015 -0600
+++ b/scripts/test.luan	Mon Jun 15 01:22:58 2015 -0600
@@ -70,7 +70,7 @@
 for record in range(1,10) do
 	local doc = {type="test"}
 	ab_testing.to_doc(doc)
-	db.save_document(doc)
+	db.save(doc)
 end
 
 init()