public Model cloneFor(Query query)  {
        Model model = this.clone();
        model.setParent(query);
        return model;
    }
Sets the query type of this query.
The type is taken into account at the time the query tree is parsed.
Setting this does <i>not</i> cause the query to be reparsed.
container-search/src/main/java/com/yahoo/search/query/Model.java