Skip to content

icruby/sunspot-solr-demo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 91.3%
  • CSS 5.8%
  • JavaScript 2.2%
  • CoffeeScript 0.7%