This is a dangerous method to use, because it assumes that you care about which cluster you are working with,
but the info you receive from this call may not be accurate, and thus, cannot be trusted to let you make accurate
decisions about the ES cluster you are speaking with. Prefer to use the Settings.getClusterInfoOrThrow()
instead.
This is kind of a dangerous method to use, because it assumes that you care about which version you are working with,
but the version you receive from this call may not be accurate, and thus, cannot be trusted to let you make accurate
decisions about the version of ES you are speaking with. Prefer to use the Settings.getInternalVersionOrThrow()
instead.