/**
* Required table fields:
* - product_id : id of the product, used as join
*
* @param string $term
*
* @return QueryBuilder|null
*/
public function buildQuery($term) { $keywords =
$this->keywordFinder->
getKeywordsOfTerm($term);
if (empty($keywords)) { return null;
} $tables =
$this->
getSearchTables();
if (empty($tables)) { return null;
}