lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jayant Kumar <>
Subject Is there any way to Collect all the searched documents at once?
Date Tue, 29 Jun 2004 09:08:45 GMT

Is there any way to fetch the fields of the searched
documents at once rather than looping through the
found documents one by one....because it consumes lots
of time and time increases by magnitude if the no. of
documents found are more.

This is how I am fetching the found documents ..

count=1500000 (no. of documents found) 

for(int i=0 ; i < count;i++ )
                                Document doc =
                                fields[i] =

This takes around 2.5 minutes  for fetching 1500000
records which is unacceptable.


Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages! 

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

View raw message