Mercurial Hosting > luan
diff lucene/src/luan/modules/lucene/Lucene.luan @ 624:8281a248c47e
add lucene highlighter
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Thu, 07 Jan 2016 18:46:07 -0700 |
parents | 1a53333eb4d5 |
children | a3c1e11fb6aa |
line wrap: on
line diff
--- a/lucene/src/luan/modules/lucene/Lucene.luan Thu Jan 07 03:58:51 2016 -0700 +++ b/lucene/src/luan/modules/lucene/Lucene.luan Thu Jan 07 18:46:07 2016 -0700 @@ -42,6 +42,7 @@ index.close = java_index.close index.ensure_open = java_index.ensure_open index.next_id = java_index.nextId + index.highlighter = java_index.highlighter function index.search(query, from, to, sort) local results = {}