lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joseph B. Ottinger" <>
Subject Getting the newly-added doc id?
Date Mon, 07 Mar 2005 08:55:23 GMT
Is there a way, after IndexWriter.addDocument(), to determine what the 
document's resulting id is? addDocument() has no return type; I could run 
a search, but the search might not be accurate if the document added is 
only slightly different than another document.

Would an external id be necessary?

Joseph B. Ottinger                   
IT Consultant                          

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

View raw message