lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ype Kingma <ykin...@xs4all.nl>
Subject Re: Score-Limited Hits?
Date Mon, 03 Feb 2003 21:41:36 GMT
On Monday 03 February 2003 22:35, you wrote:
> Is there an existing API that allows you to conduct a search such that only
> hits with a score greater than X are returned?

Not directly, but it's straightforward to compose from
Searcher.search(query, hitcollector)
and a hitcollector that implements
collect(docNr, score)
by comparing with your minimal score.

Have fun,
Ype

---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


Mime
View raw message