http://code.google.com/p/nutla/
介绍:http://www.iteye.com/topic/366431
参考资料:
http://www.blogjava.net/nianzai/category/45541.html
让Lucene能搜索HDFS下的索引:
public static void main(String[] args) throws IOException
{
Configuration conf = new Configuration();
FileSystem fs = FileSystem.get(conf);
FsDirectory dir=new FsDirectory(fs, new Path("nutindex/0/"), false, conf);
IndexReader reader = IndexReader.open(dir);
System.out.println(reader.numDocs());
for(int i=0;i<reader.numDocs();i++)
{
System.out.println(reader.document(i).get("id"));
}
reader.close();
}
http://drdobbs.com/parallel/226300241?pgno=1