public RankProfile get(String schema, String name) {
        Map<String, RankProfile> profiles = rankProfiles.get(schema);
        if (profiles == null) return null;
        return profiles.get(name);
    }
Returns a named rank profile, null if the search definition doesn't have one with the given name

@param schema the {@link Schema} that owns the rank profile
@param name the name of the rank profile
@return the RankProfile to return.
config-model/src/main/java/com/yahoo/schema/RankProfileRegistry.java