private void validateMatchPhaseSettings(RankProfile rankProfile, RankProfile.MatchPhaseSettings settings) {
        String attributeName = settings.getAttribute();
        new AttributeValidator(schema.getName(),
                               rankProfile.name(),
                               schema.getAttribute(attributeName), attributeName).validate();
    }
Validates the match phase settings for all registered rank profiles.

@author geirst
config-model/src/main/java/com/yahoo/schema/processing/MatchPhaseSettingsValidator.java