I got tripped up by the use of 'spinxconf' instead of 'sphinxconf' as an option to SphinxSearch_setup.php. The following patch may avoid minor confusion for new users:
--- a/SphinxSearch/SphinxSearch_setup.php 2012-06-04 14:08:10.000000000 -0700
+++ b/SphinxSearch/SphinxSearch_setup.php 2012-06-05 12:59:57.289298038 -0700
@@ -24,7 +24,7 @@
/* Override parameters setup becuase we do not need some of the default ones */
protected function addDefaultParams() {
- $this->addOption( 'spinxconf', 'Location of Sphinx configuration file', true, true );
+ $this->addOption( 'sphinxconf', 'Location of Sphinx configuration file', true, true );
$this->addOption( 'indexer', 'Full path to Sphinx indexer if not in the path', false, true );
$this->addOption( 'useindex', 'Sphinx index to use (defaults to wiki_main)', false, true );
$this->addOption( 'maxwords', 'Maximum number of words to extract (defaults to 10000)', false, true
@@ -36,7 +36,7 @@
$max_words = intval( $this->getOption( 'maxwords', 10000 ) );
$indexer = wfEscapeShellArg( $this->getOption( 'indexer', 'indexer' ) );
$index = wfEscapeShellArg( $this->getOption( 'useindex', 'wiki_main' ) );
- $conf = wfEscapeShellArg( $this->getOption( 'spinxconf' ) );
+ $conf = wfEscapeShellArg( $this->getOption( 'sphinxconf' ) );
$cmd = "$indexer --config $conf $index --buildstops sphinx.dic $max_words";
$this->output( wfShellExec( $cmd, $retval ) );