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

Not able to reindexing restored couchdb #1019

Open
sanketchalke252 opened this issue Jul 20, 2022 · 1 comment
Open

Not able to reindexing restored couchdb #1019

sanketchalke252 opened this issue Jul 20, 2022 · 1 comment

Comments

@sanketchalke252
Copy link

Trying to restore CouchDB from one server to another, but not able to reindex it using the below command.

RAILS_ENV=production bundle exec rake sunspot:reindex

after reindexing 5 out of 7 batches, the rake is aborted with the error ArgumentError: invalid date

I have attached a screenshot for reference.

Screenshot 2022-07-20 135424

@kurund
Copy link

kurund commented Oct 8, 2022

There was a bad date entry empty space for one of the records that failed when Date.parse() tried to parse the date.

After correcting the record reindexing worked. It would have been nice if error handling was better.

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

2 participants