Mercurial Hosting > luan
diff examples/blog/src/lib/Db.luan @ 1398:67c0e47b5be3
more lucene
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Wed, 11 Sep 2019 15:48:49 -0600 |
parents | 0dc9837c16be |
children | 38a1c1b4279a |
line wrap: on
line diff
--- a/examples/blog/src/lib/Db.luan Wed Sep 11 01:31:21 2019 -0600 +++ b/examples/blog/src/lib/Db.luan Wed Sep 11 15:48:49 2019 -0600 @@ -20,6 +20,7 @@ function Db.new(lucene_dir) local dir = Io.uri(lucene_dir) local db = Lucene.index( dir, { + version = "2" default_type = Lucene.type.english default_fields = {"subject","content"} completer = completer