lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grant Ingersoll <gsing...@apache.org>
Subject Re: Customize scoring for additive effect...
Date Wed, 03 Jan 2007 13:16:23 GMT
This _may_ help: http://lucene.apache.org/java/docs/scoring.html

It has links into the javadocs for creating Custom Query/Scorers, etc.

-Grant

On Jan 2, 2007, at 9:32 PM, escher2k wrote:

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

--------------------------
Grant Ingersoll
Center for Natural Language Processing
http://www.cnlp.org

Read the Lucene Java FAQ at http://wiki.apache.org/jakarta-lucene/ 
LuceneFAQ



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