You are here

function apachesolr_image_apachesolr_modify_query in Apache Solr Search 6

Same name and namespace in other branches
  1. 5.2 contrib/apachesolr_image/apachesolr_image.module \apachesolr_image_apachesolr_modify_query()
  2. 6.2 contrib/apachesolr_image/apachesolr_image.module \apachesolr_image_apachesolr_modify_query()

Implementation of hook_apachesolr_modify_query().

File

contrib/apachesolr_image/apachesolr_image.module, line 31

Code

function apachesolr_image_apachesolr_modify_query(&$query, &$params, $caller) {

  // Also retrieve image thumbnail links.
  $params['fl'] .= ',ss_image_relative';
}