Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sunspot RSolr Reindex Error ConnectionRefused After reindexing 99.57% of the model how to continue from where it failed #1013

Open
caionakai opened this issue Mar 15, 2022 · 0 comments

Comments

@caionakai
Copy link

I have a Rails 5 app that uses the following gems:

gem 'sunspot'
gem 'sunspot_rails'
gem 'sunspot_solr'

I'm reindexing one of my models by running:

bundle exec rake RAILS_ENV=production sunspot:solr:reindex[100,Clip]

It started running OK and reindexed 99.57% of the model as you can see in the next image:

image

However there was this error: RSolr::Error::ConnectionRefused: Connection refused. In the other threads that I read all people had this problem due to poor configuration or not starting the solr. But in this case the solr was running fine.

Is it possible to start reindexing from where it failed? Because 61800 out of 62066 rows took 8:35 hours to reindex and there are only 266 rows left to reindex.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant