I can no longer reindex and cannot resolve this issue. Spend several hours digging the web for this issue. ** *regarding production environment * d
upgrading to tomcat6 fixed the issue after i Set sunspot.yml path to /solr/collection1 and copying the scheme.xml from sunspot to the /opt/solr/collection1/conf/scheme.xml
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.ymlRAILS_ENV=production bundle exec rake sunspot:solr:reindexBam! Problems solved! I hope.