There has been an error processing your request

SQLSTATE[42S22]: Column not found: 1054 Unknown column 'bettsett_2019_filter.source_id' in 'on clause', query was: INSERT INTO `mgp1_search_tmp_65f8f7974e7b95_51025984` SELECT `main_select`.`entity_id`, SUM(score) AS `relevance` FROM (SELECT DISTINCT  `search_index`.`entity_id`, (((0) + (0) + (0)) * 1) AS `score` FROM `mgp1_catalog_product_index_eav` AS `search_index`
 INNER JOIN `mgp1_cataloginventory_stock_status` AS `stock_index` ON stock_index.product_id = search_index.entity_id AND `stock_index`.`website_id` = 0 AND `stock_index`.`stock_id` = 1
 INNER JOIN (SELECT `entity_id`, `store_id`, `attribute_id`, `value` FROM mgp1_catalog_product_index_eav WHERE `attribute_id`=171 AND `store_id`=4 GROUP BY CONCAT(`entity_id`," ",`attribute_id`," ",`store_id`," ",`value`) ) AS `bettsett_2019_filter` ON `search_index`.`entity_id` = `bettsett_2019_filter`.`entity_id` AND `bettsett_2019_filter`.`attribute_id` = 171 AND `bettsett_2019_filter`.`store_id` = 4
 INNER JOIN `mgp1_cataloginventory_stock_status` AS `bettsett_2019_filter_stock_index` ON bettsett_2019_filter_stock_index.product_id = bettsett_2019_filter.source_id AND `bettsett_2019_filter_stock_index`.`website_id` = 0 AND `bettsett_2019_filter_stock_index`.`stock_id` = 1
 INNER JOIN (SELECT `entity_id`, `store_id`, `attribute_id`, `value` FROM mgp1_catalog_product_index_eav WHERE `attribute_id`=99 AND `store_id`=4 GROUP BY CONCAT(`entity_id`," ",`attribute_id`," ",`store_id`," ",`value`) ) AS `visibility_filter` ON search_index.entity_id = visibility_filter.entity_id AND `visibility_filter`.`attribute_id` = 99 AND `visibility_filter`.`value` in ('2', '4') AND `visibility_filter`.`store_id` = '4'
 INNER JOIN `mgp1_catalog_category_product_index_store4` AS `category_ids_index` ON search_index.entity_id = category_ids_index.product_id AND category_ids_index.store_id = '4' WHERE (search_index.store_id = '4') AND (`search_index`.`attribute_id` = 171) AND (`search_index`.`value` = '147') AND (category_ids_index.category_id in ('101')) AND (bettsett_2019_filter.value = '147')) AS `main_select` GROUP BY `entity_id` ORDER BY `relevance` DESC, `entity_id` DESC
 LIMIT 10000

Error log record number: 9cdde71817e2a3449eabd2b9ee5ff81834e901db03128fb214673fbefe09eb1e