bookme wrote: > Thanks Alexandru, > > I looked your links. First link is for plugin and second for sphinx > behaviour. Second link is useful for me but commenting inside in this > not in english so it's difficult to implement for me. > > Can you provide me some other links? > > google translate:
http://translate.google.com/translate?hl=en&sl=ru&u=http://habrahabr.ru/blogs/php/41702/&sa=X&oi=translate&resnum=7&ct=result&prev=/search%3Fq%3Dcakephp%2Bsphinx%26hl%3Den%26sa%3DG basically you just add | var $actsAs = array('Sphinx'); to your model. In your controller you can call it like this: || $sphinx = array('matchMode' => SPH_MATCH_ALL, 'sortMode' => array(SPH_SORT_EXTENDED => '@relevance DESC')); $results = $this->Film->find('all', array('search' => 'search string', 'sphinx' => $sphinx)); | | More: | http://www.google.com/search?hl=en&q=cakephp+sphinx&btnG=Google+Search&aq=f&oq= --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
