3 import org.apache.lucene.analysis.standard.StandardAnalyzer;
4 import org.apache.lucene.index.IndexWriter;
9 public static void main(String[] args){
12 IndexWriter indexWriter = new IndexWriter(args[0], new StandardAnalyzer(), true);
15 //and make it owned by correct user?(not in java!)
18 System.out.println(e.toString());