lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Cutting <DCutt...@grandcentral.com>
Subject RE: Lucene Query Structure
Date Tue, 19 Feb 2002 22:06:09 GMT
> From: Joshua O'Madadhain [mailto:jmadden@ics.uci.edu]
> 
> Okay, I think I finally understand how this is working.  If we express
> the semantics of (required, prohibited) in terms of their 
> impact on the score for a document D and query q, we get:
> 
> (true, false): if q is not satisfied by D, score(D) is set to 0; 
> otherwise the score is calculated as specified in the FAQ. [AND]
> 
> (false, true): if q *is* satisfied by D, score(D) = 0; otherwise,
> the score is calculated as in the FAQ. [NAND]
> 
> (false, false): The score is calculated as in the FAQ.  
> [(implicit) OR]

That is correct.

Doug

--
To unsubscribe, e-mail:   <mailto:lucene-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-dev-help@jakarta.apache.org>


Mime
View raw message