Here was the prior API I was calling: Hits hits = getSearcher().search( query, filter, sort );
The new API: TopDocs hits = getSearcher().search( query, filter, startDoc + length, sort ); So the question is what new API can I use that allows me to extract all documents matching the query, sort, and filter in a efficient way? Charlie On Sun, Sep 18, 2011 at 1:01 AM, Chris Hostetter <hossman_luc...@fucit.org>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 > > if you start by explaining what API you were using before, people can > better understand what exactly it is you were doing to ovver you > suggestions on how to achieve the same results with newere APIs > > (for that matter: the deprecations listed on the old APIs you were using > before should give you the same info) > > > -Hoss > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org > For additional commands, e-mail: java-user-h...@lucene.apache.org > >