public QueryProfileRegistry getRegistry() {
        return registry;
    }
Creates a new set of query profiles for which the config can be returned at request

@param registry the registry containing the query profiles and types of this.
       The given registry cannot be frozen on calling this.
config-model/src/main/java/com/yahoo/vespa/model/container/search/QueryProfiles.java