|
|
@ -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)); |
|
|
|
|
|
|
|
|
|
|
|