Hi Kai,

You could use HitCollector for this:
http://lucene.apache.org/java/docs/api/org/apache/lucene/search/HitCollector.html

Here are some bits about HitCollector:
http://www.lucenebook.com/search?query=hitcollector+score
A custom HitCollector comes with the book, and you can download the
sources from the site, so help yourself. :)

Otis


--- Kai G�lzau <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> i'm trying to collect Documents whose (normalized) score
> is greater than a given threshold.
> But i don't know what is the smartest way to do so :)
> 
> Do i have to subclass (Index)Searcher and override
> 
>   search(Query query, Filter filter, final int nDocs)
> 
> to achieve this?
> 
> 
> 
> Kai G�lzau
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to