Skip to content

Latest commit

 

History

History
40 lines (34 loc) · 912 Bytes

README.md

File metadata and controls

40 lines (34 loc) · 912 Bytes

sunspot-solr-demo

Demo to sunspot solr

Setup

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

Other Important commands

rake sunspot:solr:stop
rake sunspot:solr:restart
rake sunspot:reindex

Links for more info

Sunspot github
API Reference
solr doc
railscasts

For the random article generator I am using SCIgen - An Automatic CS Paper Generator