SolrQuery - build your solr queries dynamically in Ruby
TweetI’ve been using ActsAsSolr for about 6 months.
And at work I developed some code to make SOLR queries work a bit like the conditions in ActiveRecord.
Check out my library at Github. http://github.com/matthewrudy/solr_query
SolrQuery.build(:keyword => "Feather duster"
=> "feather duster"
SolrQuery.build(:keyword => "clean",
:organisation => [organisation1, organisation2])
=> "clean AND organisation:(275 OR 6534)"
Wicked!
Check out the readme for more examples.