code: private static boolean analyse500Response(final String content) {
          if (content.contains("error") && content.contains("{not_found, missing_named_view}")) {
              LOGGER.debug("Design document not found, error is {}", content);
              return false;
          }
          if (content.contains("error") && content.contains("\"badarg\"")) {
              LOGGER.debug("Malformed view query");
              return false;
          }
          return true;
      }
docs: Analyses the content of a 500 response to see if it is legible for retry.
  
  @param content the parsed error content.
  @return true if it needs to be retried, false otherwise.