changeset 1348:af478a1bd23d

bug fix
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 25 Feb 2019 13:34:56 -0700
parents 643cf1c37723
children 0cceff521abb
files src/luan/modules/lucene/Lucene.luan
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/luan/modules/lucene/Lucene.luan	Mon Feb 25 13:02:33 2019 -0700
+++ b/src/luan/modules/lucene/Lucene.luan	Mon Feb 25 13:34:56 2019 -0700
@@ -98,7 +98,7 @@
 
 	function index.get_document(query)
 		local doc
-		local function fn(_,doc_fn)
+		local function fn(_,doc_fn,_)
 			doc = doc_fn()
 		end
 		local total_hits = index.advanced_search(query,fn,1)