Very lost as I haven\'t made any changes to my search which has always been working but somehow I\'ve got a break. Being relatively new to Rails, the error output isn\'t giv
These are the terminal commands you should follow to solve your problems:
ps aux | grep solr
to get solr process IDsudo kill <ID>
, <ID>
is the ID you found from 1rm -r <path/to/solr>
, remove the solr directory inside your project to remove all of previous indexesRAILS_ENV=production bundle exec rake sunspot:solr:start
/solr/default
inside config/sunspot.yml
development:
solr:
hostname: localhost
port: 8982
log_level: INFO
path: /solr/default
RAILS_ENV=production bundle exec rake sunspot:solr:reindex
Bam! Problems solved! I hope.