lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <hossman_luc...@fucit.org>
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 ...

	http://issues.apache.org/jira/browse/LUCENE-383


-Hoss


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