lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Charlie Hubbard <>
Subject Re: Extracting all documents for a given search
Date Sun, 18 Sep 2011 17:50:40 GMT
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?


On Sun, Sep 18, 2011 at 1:01 AM, Chris Hostetter

> : 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:
> For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message