sunspot_rails the Sunspot library for Solr search.
Now its very easy to integrate solar search using sunspot_rails gem in rails 3 for fast searching. Please follow the below steps to use solar search. 1) first install the gem gem 'sunspot_rails' gem 'sunspot_solr' # optional pre-packaged Solr distribution for use in development 2) Run the bundle command to install the gems. 3) Run rails generate sunspot_rails:install to create the configuration file for the solar search. 4) Now you need to start the solar server bundle exec rake sunspot:solr:start 5) If you have some exiting data in the data base please execute the command rake sunspot:reindex 6) Now we are done with our setup.we need to configure our model so that search will work. let say we have one event model in our application like class Event < ActiveRecord::Base attr_...