docstr: Push a message to the index
docstr_tok: ["Push","a","message","to","the","index"]
code: def push_to_index(self, index_name, message, i):
      """
      Push a message to the index
      """
      try:
          self.es.index(index=index_name, id=i, document=message)
      except Exception as e:
          print(f"Exception is :: {e!s}")
  
imports: from elasticsearch import Elasticsearch, helpers
label_desc: Use image node_id 4 for calling the ElasticConnector obj's underlying member method code with example usage: obj.push_to_index(index_name, message, i) without return types