lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Miles Barr <mi...@runtime-collective.com>
Subject Re: a *match all* query
Date Mon, 09 May 2005 12:08:29 GMT
On Mon, 2005-05-09 at 14:57 +0300, Stanislav Jordanov wrote:
> I need a query that will hit all documents in the index.
> How do I get one?

The semi-official technique is to create an additional field in the
index and store the same value in it for all the documents. Then do a
query on that field to get back all the documents.


-- 
Miles Barr <miles@runtime-collective.com>
Runtime Collective Ltd.


---------------------------------------------------------------------
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