code: def __init__(self, host: str, port: int, index: str):
      try:
          from elasticsearch import Elasticsearch
      except (AttributeError, ImportError):
          logger.error(
              "elasticsearch is not installed, please install nlp_architect with [all] package. "
              + "for example: pip install nlp_architect[all]"
          )
          sys.exit()
      # connect to our cluster
      self.cache = dict()
      if self.is_connected(host, port):
          self.es_index = index
          self.es = Elasticsearch([{"host": host, "port": port}])
      else:
          traceback.print_exc()
          raise IOError("Cannot connect to ElasticSearch node")
  
file_path: nlp-architect/nlp_architect/data/cdc_resources/wikipedia/wiki_elastic.py
imports: import logging
  import sys
  import traceback
  import requests
  from nlp_architect.data.cdc_resources.data_types.wiki.wikipedia_page import WikipediaPage
  from nlp_architect.data.cdc_resources.data_types.wiki.wikipedia_page_extracted_relations import WikipediaPageExtractedRelations
  from nlp_architect.data.cdc_resources.wikipedia.wiki_search_page_result import WikipediaSearchPageResult
label_desc: Use image node_id 1 to create a new WikiElastic object from inherited base classes: object with example: obj = WikiElastic(host, port, index)