On Jan 7, 2010, at 10:18 PM, Andy wrote:

Oh I see.

Is "popularityboost" the name of the parameter?

<requestHandler name="standard" class="solr.StandardRequestHandler">
     <lst name="defaults">
       <str name="q">{!boost b=$popularityboost v=$qq}</str>
       <str name="popularityboost">log(popularity)</str>
     </lst>
  </requestHandler>

popularityboost is entirely arbitrary here. Use whatever name you like, it's a simple substitution in the q part for $popularityboost

And yes, what you've done above is correct.

        Erik

Reply via email to