Mercurial Hosting > luan
comparison lucene/src/luan/modules/lucene/Lucene.luan @ 272:eb27e765affb
rename Io.protocols to Io.schemes and "class:" to "java:"
git-svn-id: https://luan-java.googlecode.com/svn/trunk@273 21e917c8-12df-6dd8-5cb6-c86387c605b9
author | fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9> |
---|---|
date | Fri, 31 Oct 2014 04:50:24 +0000 |
parents | 9e0d4452e649 |
children | 4d53e9fc1bd9 |
comparison
equal
deleted
inserted
replaced
271:82a3ebcfbafa | 272:eb27e765affb |
---|---|
1 import "luan:Java" | 1 import "luan:Java" |
2 import "class:luan.modules.lucene.LuceneIndex" | 2 import "java: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 |