lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Riccardo Daviddi <rdavi...@gmail.com>
Subject Re: filtering on searching or after through hits?
Date Mon, 25 Jul 2005 16:40:00 GMT
ok:)
so I do this "filtering" on the hits.
thx

On 7/25/05, Erik Hatcher <erik@ehatchersolutions.com> wrote:
> 
> 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
> criteria.
> 
>      Erik
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
> 
> 


-- 
Riccardo Daviddi

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