def read(self, resource_id):
self.logger.debug('<STR_LIT>'.format(resource_id))<EOL>return self.driver._es.get(<EOL>index=self.driver._index,<EOL>id=resource_id,<EOL>doc_type='<STR_LIT>'<EOL>)['<STR_LIT>']<EOL>
Read object in elasticsearch using the resource_id.
        :param resource_id: id of the object to be read.
        :return: object value from elasticsearch.