lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vanlerberghe, Luc" <Luc.Vanlerber...@bvdep.com>
Subject RE: Query to return all documents in the index
Date Thu, 06 Oct 2005 09:22:56 GMT
There is a MatchAllDocsQuery available (in the current development trunk
I believe) in org.apache.lucene.search.
I simply took the source and compiled it along with my project to use
it...

Luc


-----Original Message-----
From: hossman@hal.rescomp.berkeley.edu
[mailto:hossman@hal.rescomp.berkeley.edu] On Behalf Of Chris Hostetter
Sent: donderdag 6 oktober 2005 0:03
To: java-user@lucene.apache.org; Andy Goodell
Subject: Re: Query to return all documents in the index


: 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



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