Resetting your Elasticsearch indices on heroku staging when you've reached the maximum index count for the current plan
posted in fixes
If you’ve ever used Heroku’s low cost staging plan for Bonsai Elasticsearch you may have
ran into the following error: reached maximum index count for current plan.
Since in most cases your staging indices aren’t as critical as say production (don’t use the fix below in production, please!), you can safely follow the procedure below for removing and reindexing your search enabled models.