lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Riccardo Daviddi <>
Subject Add unique id to a doc
Date Thu, 21 Jul 2005 15:53:43 GMT
Hi all,

it's possible to set an unique id (as keyword field) to a doc by
looking in the index? I mean, it's possible to look in the index and
know what is the last id (which is a keyword field) and then decide
for the new id to associate to the new indexed doc? Or it's better
store the doc in a db and get so a unique id (the key of the row in
the db) and use it as the unique id for the keyword field in the

Riccardo Daviddi

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

View raw message