lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <>
Subject Re: Query to return all documents in the index
Date Wed, 05 Oct 2005 22:03:24 GMT

: method to gather results. But as it turns out, sometimes we just want all of
: the documents that match with the filter, sorted by the sort field. Does
: anyone know a query that returns all the documents in the index, so that i
: could use that in this case?

use a ConstantScoreQuery wrapped arround your filter.  It works with
lucene1.4.3, but requires java1.4 ...


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message