Could you please unsubscribe me.
From: ronveenstra <ron-s...@agathongroup.com> Reply-To: <solr-user@lucene.apache.org> Date: Thu, 19 May 2011 18:52:52 -0700 (PDT) To: <solr-user@lucene.apache.org> Subject: Re: Using Boost fields for a sum total score. Apologies if this is obvious, but I've been banging my head against a wall. I can define a query like the following: http://HOST_NAME/solr/select?q=$search_term&bq=boost_high:$search_term^1.5&b q=boost_medium:$search_term^1.3&bq=boost_max:$search_term^1.7&bq=boost_low:$ search_term^1.1 This does precisely what I'm looking for (assuming $search_term is a string like "dinosaur") The search term is found in the default/defined search fields, and then a boost is applied if this term is also found in one of the defined boost fields. What I'm looking to do is define this setup in solrconfig.xml such that I need only hit a URL like: http://HOST_NAME/solr/select?q=$search_term I can define a "bq" str in solrconfig, but seem unable to reference the "q" query parameter in order to boost only when the search term is found. Any help would be greatly appreciated. -- View this message in context: http://lucene.472066.n3.nabble.com/Using-Boost-fields-for-a-sum-total-score- tp2958968p2963986.html Sent from the Solr - User mailing list archive at Nabble.com.