Mercurial Hosting > luan
comparison lucene/src/luan/modules/lucene/Lucene.luan @ 264:9e0d4452e649
implement URL style module names
git-svn-id: https://luan-java.googlecode.com/svn/trunk@265 21e917c8-12df-6dd8-5cb6-c86387c605b9
author | fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9> |
---|---|
date | Wed, 29 Oct 2014 03:50:59 +0000 |
parents | c5c60eca33dd |
children | eb27e765affb |
comparison
equal
deleted
inserted
replaced
263:54873a389f80 | 264:9e0d4452e649 |
---|---|
1 import "Java" | 1 import "luan:Java" |
2 import "luan.modules.lucene.LuceneIndex" | 2 import "class:luan.modules.lucene.LuceneIndex" |
3 | 3 |
4 | 4 |
5 function Index(indexDir) | 5 function Index(indexDir) |
6 local index = LuceneIndex.new(indexDir).table() | 6 local index = LuceneIndex.new(indexDir).table() |
7 | 7 |