private boolean enoughHitsReceived() {
        return params.getMaxTotalHits() != -1 && (statistics.getDocumentsReturned() >= params.getMaxTotalHits());
    }
Return whether a (transient) error shall be exempt from visitor
error reporting. This to prevent spamming handlers and output with
errors for things that are happening naturally in the system.
@return true if the error should be reported
documentapi/src/main/java/com/yahoo/documentapi/messagebus/MessageBusVisitorSession.java