lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ian Lea" <ian....@gmail.com>
Subject Re: Hits Max # of documents?
Date Mon, 01 Dec 2008 11:45:26 GMT
>From the (java) apidocs: Class MatchAllDocsQuery ... A query that
matches all documents.

Sounds like it should do the trick.


--
Ian.


On Mon, Dec 1, 2008 at 11:38 AM, Ian Vink <ianvink@gmail.com> wrote:
> (I'm using Lucene.NET but the APIs are close enough)
> I'd like the search to always return all documents always. I notice that it
> 'seems'  to return a percentage of them.
>
> Hits myHits = searcher.search(query);
>
> Is what I use.
>
> Is there a way to force the searcher to give me everything?
>
> Ian
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message