docs: def _search_solr(self, line):
          """Perform a SOLR search."""
          try:
              query_str = self._create_solr_query(line)
              client = d1_cli.impl.client.CLICNClient(
                  **self._cn_client_connect_params_from_session()
              )
              object_list_pyxb = client.search(
                  queryType=d1_common.const.DEFAULT_SEARCH_ENGINE,
                  query=query_str,
                  start=self._session.get(d1_cli.impl.session.START_NAME),
                  rows=self._session.get(d1_cli.impl.session.COUNT_NAME),
              )
              d1_cli.impl.util.print_info(self._pretty(object_list_pyxb.toxml("utf-8")))
          except d1_common.types.exceptions.ServiceFailure as e:
              e = "%".join(str(e).splitlines())  # Flatten line
              regexp = re.compile(
                  r"errorCode: (?P<error_code>\d+)%.*%Status code: (?P<status_code>\d+)"
              )
              result = regexp.search(e)
              if (
                  (result is not None)
                  and (result.group("error_code") == "500")
                  and (result.group("status_code") == "400")
              ):  # noqa: E129
                  result = re.search(
                      r"<b>description</b> <u>(?P<description>[^<]+)</u>", e
                  )
                  msg = re.sub(
                      "&([^;]+);",
                      lambda m: chr(html.entities.name2codepoint[m.group(1)]),
                      result.group("description"),
                  )
                  d1_cli.impl.util.print_info("Warning: %s" % msg)
              else:
                  d1_cli.impl.util.print_error("Unexpected error:\n%s" % str(e))