diff examples/blog/src/private/tools/lucene.html.luan @ 1429:82415c9c0015

move versioning into Lucene
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 24 Nov 2019 23:07:21 -0700
parents 4721c482c86b
children
line wrap: on
line diff
--- a/examples/blog/src/private/tools/lucene.html.luan	Sun Nov 24 21:02:38 2019 -0700
+++ b/examples/blog/src/private/tools/lucene.html.luan	Sun Nov 24 23:07:21 2019 -0700
@@ -1,6 +1,6 @@
 local Luan = require "luan:Luan.luan"
 local error = Luan.error
 local Web_search = require "luan:lucene/Web_search.luan"
-local db = require("site:/lib/Db.luan").db or error()
+local Db = require "site:/lib/Db.luan"
 
-return Web_search.of(db)
+return Web_search.of(Db)