title: Boosting fields in SOLR using Solrj
body: <p>I'm using the solrj API to query my SOLR 3.6 index. I have multiple text fields, which I would like to weight differently. From what I've read, I should be able to do this using the dismax or edismax query types. I've tried the following:</p>
  
  <pre><code>SolrQuery query = new SolrQuery();
  query.setQuery( "title:apples oranges content:apples oranges");
  query.setQueryType("edismax");
  query.set("qf", "title^10.0 content^1.0");
  QueryResponse rsp = m_Server.query( query );
  </code></pre>
  
  <p>But this doesn't work. I've tried the following variations to set the query type, but it doesn't seem to make a difference.</p>
  
  <pre><code>query.setQueryType("dismax");
  query.set("qt","dismax");
  query.set("type","edismax");
  query.set("qt","edismax");
  query.set("type","dismax");
  </code></pre>
  
  <p>I'd like to retain the full Lucene query syntax, so I prefer ExtendedDisMax to DisMax. 
  Boosting individual terms in the query (as shown below) does work, but is not a valid solution, since the queries are automatically generated and can get arbitrarily complex is syntax.  </p>
  
  <pre><code>query.setQuery( "title:apples^10.0 oranges^10.0 content:apples oranges");
  </code></pre>
  
  <p>Any help would be much appreciated.</p>