Собственно решил прикрутить к магазину sphinx на замену стандартного поиска.
С установкой и настройкой самого sphinx-са проблем ноль, но вот как вывести результаты в самом opencart-те к сожалению разбраться не получилось...все что нашел:
Next the Opencart product model code needs to be altered to use Sphinx rather than querying the MySQL database directly -- below is an example:-
$sphinx = new SphinxClient; // Instantiate PECL client
$sphinx->setServer('hostname',9999); // Hostname and port number that searchd is listening on
$mode = (strpos($keyword,'"') !== false ? SPH_MATCH_PHRASE : SPH_MATCH_ANY); // See if a phrase is being searched for
$sphinx->setMatchMode($mode);
$sphinx->setMaxQueryTime(100);
$sphinx->setLimits(0,2000,0,0);
// Get results from sphinx
$results = $sphinx->query($keyword,'getProductsByTitle');
$results['matches'] will contain an array of product ID values of all the matching products so when the Opencart query is issued the query's 'WHERE' clause should have added 'AND product.product_id IN (999,999,999) where 999 is the imploded list of IDs returned from Sphinx. There is also a command line tool (bin/search) supplied with Sphinx to test search queries.
отсюда - http://forum.opencart.com/viewtopic.php?t=18297
Собственно вопрос, может кто уже делал, подскажите где и что править в самом opencart-е(точнее даж так, куда воткнуть этот самый вызов sphinx-а дабы заменить оным встроенный поиск)?
Спасибо.