Rails 4 Sunspot Tutorial with Active Model Serializers - outoftime/sunspot GitHub Wiki http://rahil.ca/blog/how-to-set-up-a-rails-search-api-with-json-and-sunspot-solr/ What's covered? Install Sunspot Run the Solr server Make your models searchable Index associations with touch and after_touch Unit tests with sunspot_matchers Creating a wrapper for searching for users Setting up a JSON search API with pagination using ActiveModel::Serializers