public QueryType setComposite(String composite) {
        if (composite == null) return this;
        this.composite = Composite.valueOf(composite);
        return this;
    }
Sets the composite value from a string enum value. If the argument is null this does nothing.
container-search/src/main/java/com/yahoo/search/query/QueryType.java