Tweaked version of Ivanco's wordpress sphinx search plugin