public void setDimensions(String[] dimensions) {
        ensureNotFrozen();
        variants = new QueryProfileVariants(dimensions, this);
    }
Sets the dimensions over which this may vary. Note: This will erase any currently defined variants
container-search/src/main/java/com/yahoo/search/query/profile/QueryProfile.java