docs: def search(self, index_name, query):
          """Search the given index_name with the given ELS query.
  
          Args:
              index_name: Name of the Index
              query: The string to be searched.
  
          Returns:
              List of results.
  
          Raises:
              RuntimeError: When the search query fails.
          """
  
          try:
              results = self.els_search.search(index=index_name, body=query)
              return results
          except Exception, error:
              error_str = 'Query failed: %s\n' % str(error)
              error_str += '\nIs there a dynamic script in the query?, see www.elasticsearch.org'
              print error_str
              raise RuntimeError(error_str)