lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "m.harig" <>
Subject Re: remove duplicate when merging indexes
Date Tue, 10 Nov 2009 09:51:21 GMT

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,
   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:
Sent from the Lucene - Java Users mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message