protected boolean shouldRetry(Query query, Result result) {
        return result.hits().getError() != null;
    }
Returns whether this query and result should be retried against another
connection if possible. This default implementation returns true if the
result contains some error.
container-search/src/main/java/com/yahoo/search/cluster/ClusterSearcher.java