This behavior helps to use Sphinx search engine in your projects. First, you need Sphinx http://sphinxsearch.com/ installed and configured. I hope that you've already set up. Now, get the sphinxapi.php from the sphinx distribution and place it in app/vendors. Download the code and save it to app/models/behaviors/sphinx.php Behavior code: Download code <?php /** * Behavior for simple usage of S