Re: Additive boost function
Jack, Could you, please, suggest how to use SOLR query functions to make all fields boosts added on such query as I specified in the topic ? -- View this message in context: http://lucene.472066.n3.nabble.com/Additive-boost-function-tp4118066p4118537.html Sent from the Solr - User mailing list archive at Nabble.com.
Additive boost function
Hi Guys, I faced with a problem of additive boosting. 2 fields: last_name and first_name. User is searching for mike t Query: (last_name:mike^15 last_name:mike*^7 first_name:mike^10 first_name:mike*^5) AND (last_name:t^15 last_name:t*^7 first_name:t^10 first_name:*^5) The search result does not meet the expectations because score model includes others statics of searching terms on the SOLR index. According to scoring formula of DefaultSimilarity the result score is a multiplication. The question is how to implement additive score model based on my boost values ? -- View this message in context: http://lucene.472066.n3.nabble.com/Additive-boost-function-tp4118066.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Additive boost function
The edismax query parser bf parameter gives you an additive boost. See: http://wiki.apache.org/solr/ExtendedDisMax#bf_.28Boost_Function.2C_additive.29 -- Jack Krupansky -Original Message- From: Zwer Sent: Tuesday, February 18, 2014 12:52 PM To: solr-user@lucene.apache.org Subject: Additive boost function Hi Guys, I faced with a problem of additive boosting. 2 fields: last_name and first_name. User is searching for mike t Query: (last_name:mike^15 last_name:mike*^7 first_name:mike^10 first_name:mike*^5) AND (last_name:t^15 last_name:t*^7 first_name:t^10 first_name:*^5) The search result does not meet the expectations because score model includes others statics of searching terms on the SOLR index. According to scoring formula of DefaultSimilarity the result score is a multiplication. The question is how to implement additive score model based on my boost values ? -- View this message in context: http://lucene.472066.n3.nabble.com/Additive-boost-function-tp4118066.html Sent from the Solr - User mailing list archive at Nabble.com.