title: solr lucene - how boost bf is applied using edismax. is it additive?
body: <p>I have a query that looks like this: </p>
  
  <pre><code>qt=/solrSearchHandler&amp;q={!func}sum(0,0)&amp;bf=someFloatField^1
  </code></pre>
  
  <p>Where a document has <code>someFloatField</code> of value 1.</p>
  
  <p>I am using solr.SearchHandler request handler w/ edismax defType. </p>
  
  <p>I'm trying to figure out why the score for a document is not the sum of the bf/boost and the function query value (specified as q).</p>
  
  <p>In this example I expect the score to be 1 <code>(sum(0,0) + boost weight=1 * someFloatField=1)</code> but it is actually 0. After playing w/ the numbers I see that the score is actually being calculated as:</p>
  
  <pre><code>q + bf * q
  </code></pre>
  
  <p>instead of </p>
  
  <pre><code>q + bf 
  </code></pre>
  
  <p>which is what I expected for additive boosting. Perhaps I am confused about how boosts are a incorporated into the score. If so, I would appreciate any direction as to how to simply add the 2 values.</p>