public static DispatchPolicy toDispatchPolicy(String policy) {
            return switch (policy.toLowerCase()) {
                // TODO: Remove support for 'random' on Vespa 9 (already removed from doc)
                case "adaptive", "random" -> DispatchPolicy.ADAPTIVE;
                case "round-robin" -> DispatchPolicy.ROUNDROBIN; // TODO: Undocumented, document it or remove it?
                case "latency-amortized-over-requests" -> DispatchPolicy.LATENCY_AMORTIZED_OVER_REQUESTS; // TODO: Undocumented, document it or remove it?
                case "latency-amortized-over-time" -> DispatchPolicy.LATENCY_AMORTIZED_OVER_TIME; // TODO: Undocumented, document it or remove it?
                case "best-of-random-2" -> DispatchPolicy.BEST_OF_RANDOM_2;
                default -> throw new IllegalArgumentException("Unknown dispatch policy '" + policy + "'");
            };
        }
Returns the percentage of documents which must be available in a group for that group to receive queries
config-model/src/main/java/com/yahoo/vespa/model/content/DispatchTuning.java