I think: - Get the number of documents from IndexReader. - Go from 0 to that number. - If reader.deleted(docId) == false get doc output doc fields' content
Otis ----- Original Message ---- From: MALCOLM CLARK <[EMAIL PROTECTED]> To: java-user@lucene.apache.org Sent: Thursday, July 27, 2006 5:01:00 PM Subject: Output of index Hi, I'm going to attempt to output several thousand documents from a 3+ million document collection into a csv file. What is the most efficient method of retrieving all the text from the fields of each document one by one? Please help! Thanks, Malcolm --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]