Error using progress bar: Max must be a positive integer

Whenever I reindex a with solr, I get the following error:

$ RAILS_ENV=development rake sunspot:solr:reindex
Error using progress bar: Max must be a positive integer

How to fix it?

+2
source share
1 answer

A possible reason is that your reinstallation database does not have data. The progress bar should show "how many are reindexed / how many records are in the database." Therefore, if you do not have data, the progress bar cannot be initialized. Sunspot expected to show better error message

0
source

All Articles