Adding retry logic to java high level rest client

As requests over http can fail for various reasons, would it make sense to add some retry mechanism to high level rest client ?

I see this : Retry Lifecycle Policy API | Java REST Client [7.13] | Elastic. Not sure about the real purpose of this as its operating on an index.

I can add the retry logic in the calling code, but wanted to post this question here as it should be a pretty common requirement for everyone.