annotate examples/blog/src/private/tools/lucene.html.luan @ 1528:3bd4d7963456

use goodjava/lucene/api
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 26 Jul 2020 23:11:53 -0600
parents 82415c9c0015
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1220
4721c482c86b cleaner Db example
Franklin Schmidt <fschmidt@gmail.com>
parents: 1218
diff changeset
1 local Luan = require "luan:Luan.luan"
4721c482c86b cleaner Db example
Franklin Schmidt <fschmidt@gmail.com>
parents: 1218
diff changeset
2 local error = Luan.error
693
ca169567ce07 module URIs must now include ".luan"
Franklin Schmidt <fschmidt@gmail.com>
parents: 597
diff changeset
3 local Web_search = require "luan:lucene/Web_search.luan"
1429
82415c9c0015 move versioning into Lucene
Franklin Schmidt <fschmidt@gmail.com>
parents: 1220
diff changeset
4 local Db = require "site:/lib/Db.luan"
597
cb6c628de583 add blog tools
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
5
1429
82415c9c0015 move versioning into Lucene
Franklin Schmidt <fschmidt@gmail.com>
parents: 1220
diff changeset
6 return Web_search.of(Db)