function apachesolr_multisitesearch_apachesolr_process_results in Apache Solr Multisite Search 6
Same name and namespace in other branches
- 6.3 apachesolr_multisitesearch.module \apachesolr_multisitesearch_apachesolr_process_results()
- 6.2 apachesolr_multisitesearch.module \apachesolr_multisitesearch_apachesolr_process_results()
- 7 apachesolr_multisitesearch.module \apachesolr_multisitesearch_apachesolr_process_results()
Implementation of hook_apachesolr_process_results()
File
- ./
apachesolr_multisitesearch.module, line 93 - Provides a multi-site search implementation for use with the Apache Solr module
Code
function apachesolr_multisitesearch_apachesolr_process_results(&$results, $namespace = FALSE) {
if ($namespace == 'apachesolr_multisitesearch') {
foreach ($results as $key => $result) {
$results[$key]['extra'][] = theme('apachesolr_breadcrumb_hash', $result['node']->hash);
}
}
}