lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Elschot <paul.elsc...@xs4all.nl>
Subject Re: Optional terms in BooleanQuery
Date Tue, 22 May 2007 15:59:41 GMT
This is actually more for java-dev, but anyway.

On Tuesday 22 May 2007 11:04, Mark Miller wrote:
> Sorry, didn't mean to imply that that whole spiel was a technical 
> explanation...just a "how I like to think of it" to get my head around 
> the BooleanQuery system. If your reading that, think high level overview 
> more than technically accurate. I'll be more specific in the future -- 
> as always, the javadocs are the best place to get down to the nitty gritty.
> 
> HitCollector:
>   /** Called once for every non-zero scoring document, with the document 
> number
>    * and its score.
> 
> TopDocCollector (used by Hits and returned by a Searcher) does ensure 
> scores are greater than 0. If you roll your own HitCollector, you 
> shouldn't need my thoughts on how I think of BooleanQuery's.

Among others, this javadoc is corrected by the patch here:
http://issues.apache.org/jira/browse/LUCENE-584
It introduces Matcher as a superclass of Scorer.

Regards,
Paul Elschot

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