Forgot how great the sunspot gem is for interacting with the Solr search engine. Great DSL and actively maintained.

Matthew Lang @matthewlang