home
to by anonymous
import java.io.StringReader;
import org.apache.lucene.analysis.standard.StandardAnalyzer;
import org.apache.lucene.document.Document;
import org.apache.lucene.document.Field;
import org.apache.lucene.index.IndexWriter;to by anonymous
public static void main (String ... args) throws Exception{
IndexWriter iw_temp = new IndexWriter("i.temp",new StandardAnalyzer());
IndexWriter iw = new IndexWriter("i",new StandardAnalyzer());