FOSElasticaBundle
FOSElasticaBundle copied to clipboard
Gracefully handle Elasticsearch being down?
I searched and found a few people asking about this but no one posted an actual working solution. It was suggested to overwrite the Http.php class in Elastica but i dont know if that is even possible since its not in a bundle but used by your bundle.
Sometimes elastic search can crash or have issues and i want my web app to keep working when that happens rather than throw 500 errors every time the DB is modified. I'd much rather my app keep working and have incomplete search results later than just die completely.
Is there a way to actually do this? Could you possibly add a config option to gracefully handle elasticsearch being unavailble?
Thanks
up
In urgent need of such feature!