From a4519614578940d378beb980d28a28a92aa497f1 Mon Sep 17 00:00:00 2001 From: Paul Pound Date: Tue, 15 Aug 2017 09:21:28 -0300 Subject: [PATCH] using edismax --- targets/solr_site/roblib_search_solr_site.module | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/targets/solr_site/roblib_search_solr_site.module b/targets/solr_site/roblib_search_solr_site.module index 32db59e..042280b 100755 --- a/targets/solr_site/roblib_search_solr_site.module +++ b/targets/solr_site/roblib_search_solr_site.module @@ -372,11 +372,12 @@ function roblib_search_solr_site_get_results($query = NULL, $type) { } $data = array( 'q' => $query, - 'fq' => $type, + 'fq' => $type,// . 'AND (hash:23lhtc+OR+access__all:0)', 'wt' => 'json', 'qf' => $qf, 'bq' => $bq, 'rows' => $num_results, + 'deftype' => 'edismax', ); $url = url($solr_url . '/select', array('query' => $data));