sphinx search config scripts
I just finished converting the bikesoup search to use the sphinx search engine instead of a simple doctrine fulltext search with filters. One thing I found helpful are sphinx config scripts. Instead of hard-coding the configuration you can use any scripting language to produce the sphinx configuration. The just have to start with ‘#!’ and sphinx will execute them and use the output as the configuration. This is the simplified version of my main config file /etc/sphinx/sphinx.conf : ...