Sphinx Search Engine v0.0.2 for XenForo v1.0.0 (gold/final/stable) Please consider this a very first proof of concept beta release. XenForo is new to me. So if I'm doing something terribly wrong here please let me know The following Installation and Upgrade instructions assume that you already know how to setup Sphinx Search Engine, including how to setup cronjobs to reindex your search index and update your delta search index inbetween. See below for a more detailed howto for CentOS5 (including how to setup Sphinx itself). I've been using the latest Sphinx 1.10-beta release. An example sphinx.conf is included. I believe it should work with Sphinx 0.9.9 as well. I didn't have time to test this though. Quick Installation Upload all files from the "upload" folder to your XenForo directory Go to your XenForo Admin Control Panel and click Install Add-on Select addon_xt_sphinx.xml and click Install Add-on add the source and index definitions from the included sphinx.conf to your sphinx.conf reindex your search index enjoy your Sphinx Search Engine please report any bugs and suggestions Quick Upgrade Upload all files from the "upload" folder to your XenForo directory Go to your XenForo Admin Control Panel and click List Add-ons Look for Sphinx Search Engine 0.0.1 and click Controls -> Upgrade Select addon_xt_sphinx.xml and click Upgrade Add-on enjoy your Sphinx Search Engine please note you no longer need to manually edit library/XenForo/Search/SourceHandler/Abstract.php please report any bugs and suggestions Detailed HowTo (for CentOS5) (off the top of my head) Download and compile Sphinx Code: # wget http://sphinxsearch.com/files/sphinx-1.10-beta.tar.gz # tar xzvf sphinx-1.10-beta.tar.gz # cd sphinx-1.10-beta # ./configure --prefix=/usr/local/sphinxbeta # make # make install # useradd -M searchd # chown searchd.searchd /usr/local/sphinxbeta/var/data # chown searchd.searchd /usr/local/sphinxbeta/var/log Setup your Sphinx config Code: # cd /usr/local/sphinxbeta/etc # vi sphinx.conf press paste the content from examples/sphinx.conf press Setup PHP scripts Upload all files from the "upload" folder to your XenForo directory Go to your XenForo Admin Control Panel and click Install Add-on Select addon_xt_sphinx.xml and click Install Add-on Setup startup script Code: # cd /etc/init.d # vi searchd press paste the content from examples/searchd_initd press Code: # chmod +x searchd # mkdir /var/run/sphinxbeta # chown searchd.searchd /var/run/sphinxbeta # /bin/su -c "/usr/local/sphinxbeta/bin/indexer --all" searchd # service searchd start Setup cron scripts Code: # cd /etc/cron.daily # vi sphinx_reindex press paste the content from examples/sphinx_reindex press Code: # chmod +x sphinx_reindex # ./sphinx_reindex # cd /etc # mkdir cron.1minute # vi crontab press add this press Code: # cd cron.1minute # vi sphinx_delta press paste the content from examples/sphinx_delta press Code: # chmod +x sphinx_delta # ./sphinx_delta Make sure searchd is up on reboot Code: # chkconfig --add searchd # chkconfig searchd on P.S. personally I'm reindexing every 24 hours at 4a.m. and run the delta each and every minute. This setup works fine for us, but we only have about 3 million posts to reindex anyway. So for really big forums a delta update every 5 minutes might be better (that would be */5 * * * * root run-parts /etc/cron.5minutes in crontab, in the howto above). And you need to decide when and if to run the reindex. That really depends on your setup and hardware I guess.