lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From escher2k <esche...@yahoo.com>
Subject Customize scoring for additive effect...
Date Wed, 03 Jan 2007 02:32:31 GMT

I am trying to build a scoring function which is additive across multiple
fields that are searched.
For instance, if a user searches for "Web PHP", I want the search to happen
over fld1, fld2
and then compute the score as,
   score = similarity score(fld1) + similarity score(fld2) + <some system
constant>

I think I have figured out how to customize the similarity for the fields,
but I still don't know
how to get this additive effect. I didn't see any direct way to plug in a
custom scorer. 

Thanks.
-- 
View this message in context: http://www.nabble.com/Customize-scoring-for-additive-effect...-tf2911491.html#a8134948
Sent from the Lucene - Java Users mailing list archive at Nabble.com.


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