ENG-4898 Completed code for reading elastic index.