@Override
    public void process(boolean validate, boolean documentsOnly) {
        if ( ! validate) return;
        if (documentsOnly) return;

        for (RankProfile rankProfile : rankProfileRegistry.rankProfilesOf(schema)) {
            RankProfile.MatchPhaseSettings settings = rankProfile.getMatchPhase();
            if (settings != null) {
                validateMatchPhaseSettings(rankProfile, settings);
            }
        }
    }
Validates the match phase settings for all registered rank profiles.

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