public void setPriority(DocumentProtocol.Priority priority) {
        this.priority = priority;
    }
Returns the maximum number of documents to visit (max documents returned by the visitor)
documentapi/src/main/java/com/yahoo/documentapi/VisitorParameters.java