Yes correct, I'll be using the new updateDocument() api call!
Erick thanks for correcting my poor use of termdocs :) On 2/27/07, Doron Cohen <[EMAIL PROTECTED]> wrote:
"Erick Erickson" <[EMAIL PROTECTED]> wrote on 25/02/2007 07:05:21: > Yes, I'm pretty sure you have to index the field (UN_TOKENIZED) to be able > to fetch it with TermDocs/TermEnum! The loop I posted works like this.... Once indexing the database_id field this way, also the newly added API IndexWriter.updateDocument() may be useful.