Demo to sunspot solr
bundle install
rake db:migrate
rake sunspot:solr:start
rails s
Once you have the server running to get some random articles generated go to
http://localhost:3000/articles/generate/2/ where 2 is the number of articles you want to generate
rake sunspot:solr:stop
rake sunspot:solr:restart
rake sunspot:reindex
Sunspot github
API Reference
solr doc
railscasts
For the random article generator I am using SCIgen - An Automatic CS Paper Generator