code: def extract_from_elastic_results(search_result):
      best_results = []
      if (
          search_result is not None
          and search_result["hits"]["total"] > 0
      ):
          if search_result["hits"]["total"] > 0:
              best_results = search_result["hits"]["hits"]
      return best_results
  
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 5 for calling the WikiElastic obj's underlying member method code with example usage: obj.extract_from_elastic_results(search_result) and returns: best_results