@Override
    public int hashCode() {
        return getClass().hashCode() +
               QueryHelper.combineHash(encoding,filter,language,getQueryTree(),sources,restrict,defaultIndex,type,searchPath);
    }
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