class Resume < ActiveRecord::Base
require ‘rexml/document’
include REXML
acts_as_solr :fields => [:firstname, :lastname]
end
but while reindexing ,having the following error
Requiring REXML
Clearing index for Resume…
rake aborted!
Couldn’t connect to the Solr server at http://127.0.0.1:8982/solr. undefined method `closed?’ for nil:NilClass,
Can you point a browser to http://127.0.0.1:8982/solr ? Normally solr
is set up at 8983, do you have a typo there? Also, if you are just
starting with solr, I'd recommend the rsolr gem instead. It is
actively being maintained.