A tutorial for sunspot and solr.