lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley" <>
Subject Re: Searching with a score cutoff
Date Mon, 04 Jun 2007 22:12:47 GMT
On 6/4/07, Andy Goodell <> wrote:
> Currently our application implements a score cutoff by iterating through the
> hits and then stopping once it reaches a hit whose score is below our
> threshold.  We'd like to optimize this (and avoid looking at the entire hits
> when we don't need to) by having the score cutoff applied when the hits are
> gathered.  The only way I can see of doing this is by over-riding
> Similarity, which seems like an incredibly complex procedure.  What am I
> missing?

Look at the search methods that accept a HitCollector.


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

View raw message