lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eddie Drapkin <>
Subject Re: Extracting all documents for a given search
Date Fri, 16 Sep 2011 18:30:06 GMT
On 9/16/2011 11:30 AM, Charlie Hubbard wrote:
> I'm trying to reimplement a feature I had under 2.x in 3.x.  I have a
> feature where a zip file for all of the documents returned by a search can
> be exported.  Now with the newer APIs you have to put an upper limit on the
> search so it won't return more than X documents.  I'd like to extract all of
> the documents matched by that search.  I've been trying to understand how
> Collectors work, but I'm not sure I see the connection.  If I wanted to walk
> over each document that matches the search and save the contents to the zip
> how would that best be done?
> Thanks
> Charlie

Why not just get Integer.MAX_VALUE records from the newer APIs?


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

View raw message