title: How to retrieve Solr query URL from response object in drupal 7?
body: <p>I really want to print the full query for custom solr.</p>
  
  <p>I use this code for getting result from solr :</p>
  
  <p><strong>Example:</strong></p>
  
  <pre><code>  $solr = apachesolr_get_solr('name_of_solr');
    if($solr-&gt;ping()) {
        $params = array(
        'q' =&gt; '*',
        'start' =&gt; 0,
        'rows' =&gt; 20,
        'fl' =&gt; 'entity_id',
        );
        $query = new SolrBaseQuery('apachesolr', $solr, $params, '');
        $query-&gt;addParam('sort', 'ss_published_date desc'); 
        $query-&gt;addFilter('im_field_section', $sc_id);
    }
    $response = $query-&gt;search();
  </code></pre>
  
  <p>I am tring to get the full query or URL by</p>
  
  <pre><code>dpm($query);//Getting object..
  </code></pre>
  
  <p><strong>Expected Result:</strong></p>
  
  <pre><code>http://11.11.111.111:8983/solr/tod/select?fl=entity_id&amp;fq=im_field_section:%20174&amp;indent=on&amp;q=*:*&amp;rows=20&amp;sort=ss_published_date%20desc&amp;start=0&amp;wt=json
  </code></pre>