Recently we moved an application from rails 4 to rails 5.1.6 The issue which we are facing is that on starting the sunspot it shows as sunspot has started. But on reindex or on doing any database action, we are getting connection refused error
production:
solr:
hostname: localhost
port: 8983
log_level: WARNING
path: /solr/default
development:
solr:
hostname: localhost
port: 8983
log_level: INFO
path: /solr/default
test:
solr:
hostname: localhost
port: 8983
log_level: WARNING
path: /solr/test
This is the process which we followed https://gist.github.com/1v/8a04e74ed1e86d8c52cf007f77b178be
Can anyone please help us on this