lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <>
Subject Re: filtering on searching or after through hits?
Date Mon, 25 Jul 2005 13:01:48 GMT

On Jul 25, 2005, at 7:05 AM, Riccardo Daviddi wrote:
> Hi all,
> I have to filter my searching in two ways:
> 1) by score, I want that only docs with score higher than a threshold
> are returned.
> 2) by num of docs, I want that only, for example, the first 20 docs
> are returned.
> It's better do it with a queryfilter or search for all and after look
> through the hits with some conditions?

A QueryFilter can do neither of these criteria.  I recommend simply  
doing a search and limiting the Hits shown based on the desired  


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

View raw message