lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <e...@ehatchersolutions.com>
Subject Re: Scoring a query with OR's
Date Sun, 09 Mar 2008 17:22:48 GMT

On Mar 9, 2008, at 12:39 PM, Ghinwa Choueiter wrote:
> but what exactly happens when there are OR's, for eg.  (life OR  
> place OR time)
>
> The scoring equation can get a score for life, place, time  
> separately, but what does it do with them then? Does it also add them.

The coord factor kicks in then:

<http://hudson.zones.apache.org/hudson/job/Lucene-trunk/javadoc//org/ 
apache/lucene/search/DefaultSimilarity.html#coord(int,%20int)>

the formula listed here should help too:

<http://hudson.zones.apache.org/hudson/job/Lucene-trunk/javadoc//org/ 
apache/lucene/search/Similarity.html>

	Erik


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