public void setDiversity(Diversity diversity) {
        this.diversity = diversity;
    }
Returns the max hits to aim for producing in the match phase on each content node, or null if not set
container-search/src/main/java/com/yahoo/search/query/ranking/MatchPhase.java