Hi, all

I want  to run lucene on Hadoop, The problem as follows:

IndexWriter writer = new IndexWriter(FSDirectory.open(new
File("index")),new StandardAnalyzer(), true,
IndexWriter.MaxFieldLength.LIMITED);

when using Hadoop, whether the first param must be the dir of HDFS? And how
to use?

Thanks in advance!

-- 
Regards,
Jander

Reply via email to