Thanks simon ,,

    this is my code

   doc.add(new Field("id",""+i,Field.Store.YES,Field.Index.NOT_ANALYZED));
                        
   doc.add(new Field("title", indexForm.getTitle(), Field.Store.YES,
                                        Field.Index.ANALYZED));
   doc.add(new Field("contents", indexForm.getContent(),
                Field.Store.YES, Field.Index.ANALYZED));
   writer.updateDocument(new Term("id"), doc);

but still no change .. where am doing wrong??
-- 
View this message in context: 
http://old.nabble.com/remove-duplicate-when-merging-indexes-tp26280244p26280792.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to