Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
protected function _sendRawGet($url, $timeout = FALSE)
{
...
else
{
// use the default timeout pulled from default_socket_timeout otherwise
stream_context_set_option($this->_getContext, 'http', 'timeout', $this->_defaultTimeout);
}
### HACK - BF
# Adding in the old message output of SOLR queries to admin screens
if(user_access('administer site configuration')){
drupal_set_message(sprintf('<a href="%s" title="%s" target="_blank">SOLR query</a>', htmlspecialchars($url), htmlspecialchars($url)));
}
### END HACK
Comments
Comment #1
toemaz commentedsubscribe
Comment #2
rjbrown99 commentedI initially had no idea how to do this, but Scott Reynolds chimed in on another issue about it.
http://drupal.org/node/728088#comment-2656442
This was VERY helpful to me in assessing what was going on in the Solr query.
Comment #3
EvanDonovan commentedSubscribing.
Comment #4
Remon commentedsubscribe
Comment #5
kenorb commented+1
HACK:
File: SolrPhpClient/Apache/Solr/Service.php
Comment #6
kenorb commentedSee:
http://drupal.org/project/apachesolr_stats
http://wiki.apache.org/solr/CommonQueryParameters#Debugging
Implementation of hook_apachesolr_update_index(&$query, &$params, $caller)
#408990: Keep track of Solr performance
Comment #7
kenorb commentedDrupal 6 is no longer officially supported. If you think this issue is still relevant for 8.x, feel free to re-open.