> the page you recommended and came up
> with:
> 
> http://localhost:8983/solr/search/?q=dog&fl=boost_score,genus,species,score&rows=15&bf=%22ord%28sum%28boost_score,1%29%29
> ^10%22
> 
> But appeared to have no effect. The results were in the
> same order as they
> were when I left off the bf parameter. So what am I doing
> incorrectly?

bf belongs to DisMaxParams. 

Instead try this  q={!boost b=boost_score}dog

You can use any valid FuctionQuery as a b paramter.

http://lucene.apache.org/solr/api/org/apache/solr/search/BoostQParserPlugin.html

You may want to use parameter referencing also. Where q is harcoded in 
solrconfig.xml, something like:

q={!boost b=$bb v=$qq}&qq=dog&bb=%22ord%28sum%28boost_score,1%29%29

http://wiki.apache.org/solr/LocalParams



      

Reply via email to