Browse Source

using edismax

2.x-ebsco
Paul Pound 7 years ago
parent
commit
a451961457
  1. 3
      targets/solr_site/roblib_search_solr_site.module

3
targets/solr_site/roblib_search_solr_site.module

@ -372,11 +372,12 @@ function roblib_search_solr_site_get_results($query = NULL, $type) {
} }
$data = array( $data = array(
'q' => $query, 'q' => $query,
'fq' => $type, 'fq' => $type,// . 'AND (hash:23lhtc+OR+access__all:0)',
'wt' => 'json', 'wt' => 'json',
'qf' => $qf, 'qf' => $qf,
'bq' => $bq, 'bq' => $bq,
'rows' => $num_results, 'rows' => $num_results,
'deftype' => 'edismax',
); );
$url = url($solr_url . '/select', array('query' => $data)); $url = url($solr_url . '/select', array('query' => $data));

Loading…
Cancel
Save