def get_search_location():
  """ Returns the IP and port of where the search service is running.

  Returns:
    A str, the IP and port in the format: IP:PORT. Empty string if the service
    is not available.
  """
  try:
    return file_io.read(constants.SEARCH_FILE_LOC).rstrip()
  except __HOLE__:
    logging.warning("Search role is not configured.")
    return ""
dataset/ETHPy150Open AppScale/appscale/lib/appscale_info.py/get_search_location