@Override
    public int hashCode() {
        return Objects.hash(type, composite, tokenization, syntax);
    }
Throws IllegalArgumentException if the combination of options set in this are ot supported.
container-search/src/main/java/com/yahoo/search/query/QueryType.java