Browse Source

limit bestbet searchs to title_1 field

2.x
Paul Pound 12 months ago
parent
commit
a5202d3719
  1. 1
      modules/solr_site/src/Controller/RoblibSearchSolrsiteController.php

1
modules/solr_site/src/Controller/RoblibSearchSolrsiteController.php

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

Loading…
Cancel
Save