public void setInheritedSummaryFeatures(String parentProfile) {
        if ( ! inheritedNames().contains(parentProfile))
            throw new IllegalArgumentException("This can only inherit the summary features of a directly inherited profile, " +
                                               "but is attempting to inherit '" + parentProfile);
        this.inheritedSummaryFeaturesProfileName = parentProfile;
    }
Sets the name this should inherit the summary features of.
Without setting this, this will either have the summary features of the single parent setting them,
or if summary features are set in this, only have the summary features in this.
With this set the resulting summary features of this will be the superset of those defined in this and
the final (with inheritance included) summary features of the given parent.
The profile must be one which is directly inherited by this.
config-model/src/main/java/com/yahoo/schema/RankProfile.java