lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <>
Subject Re: Indexing
Date Mon, 31 Oct 2005 19:58:47 GMT

:  I've 4 fields in a document ie. id, URL, modified date, contents. id is
: unique for each document. I wanted to know if I index a document with
: the same id again , will the previous document (in the index) be
: overwritten or do I have to delete the index for that document first and
: then re index the modified one.

Lucene has no notion of a "unique field" ... you will need to delete
the old record ... but you don't neccessarily need to delete it first.


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

View raw message