Issue
I need to know how Spring Data Elastic reacts if the Elastic database stops working. Does it store the data in cache or somewhere else? If not, is the data saved when the database was not working lost?
I can't find an answer to my question in the Spring documentation...
Can someone help me?
Solution
Calls to Elasticsearch will throw an error coming from the underlying libraries. Spring Data Elasticsearch does not manage the data in any way, so it is in the application's responsibility to handle such exceptions.
Answered By - P.J.Meisch
Answer Checked By - Katrina (JavaFixing Volunteer)