|
|
@ -66,6 +66,8 @@ class RoblibSearchSolrsiteController extends ControllerBase { |
|
|
|
$query->keys($queryString); |
|
|
|
$query->keys($queryString); |
|
|
|
if ($solr_type == 'BestBet') { |
|
|
|
if ($solr_type == 'BestBet') { |
|
|
|
$query->addCondition('type', 'bestbet'); |
|
|
|
$query->addCondition('type', 'bestbet'); |
|
|
|
|
|
|
|
} else { |
|
|
|
|
|
|
|
$query->addCondition('type', 'bestbet', '<>'); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// $query->setFulltextFields(['rendered_item', 'title', 'body']); |
|
|
|
// $query->setFulltextFields(['rendered_item', 'title', 'body']); |
|
|
|