lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otis Gospodnetic <otis_gospodne...@yahoo.com>
Subject Re: Output of index
Date Fri, 28 Jul 2006 00:44:20 GMT
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 <malcyclark@btinternet.com>
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: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message