Riddle

Riddle is a Ruby API for the Sphinx search service. It also provides a pure-Ruby interface to defining and generating Sphinx configuration files.