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?
Thanks,
Eddie
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org