public static AvailabilityPolicy from(DispatchConfig config) {
        return new AvailabilityPolicy(config.prioritizeAvailability(), config.minActivedocsPercentage());
    }
Polcies for group availability.

@author bratseth
container-search/src/main/java/com/yahoo/search/dispatch/searchcluster/AvailabilityPolicy.java