FOSElasticaBundle icon indicating copy to clipboard operation
FOSElasticaBundle copied to clipboard

Gracefully handle Elasticsearch being down?

Open mike240se opened this issue 4 years ago • 2 comments

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

mike240se avatar Mar 22 '20 23:03 mike240se

up

DILL44 avatar Jun 29 '20 14:06 DILL44

In urgent need of such feature!

spin7ion avatar Nov 30 '20 17:11 spin7ion