Opencast's class for configuring and connecting Elasticsearch uses anumber of deprecated methods. The usage of these are fixed by thispatch.