public void setStrict(boolean strict) {
        ensureNotFrozen();
        this.strict=strict;
    }
Set whether nondeclared fields are permissible. Throws an exception if this is frozen.
container-search/src/main/java/com/yahoo/search/query/profile/types/QueryProfileType.java