public boolean generalizes(Binding other) {
        if ( this.dimensions.length >= other.dimensions.length) return false;
        for (int i = 0; i < this.dimensions.length; i++) {
            int otherIndexOfDimension = this.indexOf(dimensions[i], other.dimensions);
            if (otherIndexOfDimension < 0) return false;
            if ( ! this.dimensionValues[i].equals(other.dimensionValues[otherIndexOfDimension])) return false;
        }
        return true;
    }
Returns whether this binding is a proper generalization of the given binding:
Meaning it contains a proper subset of the given bindings.
container-search/src/main/java/com/yahoo/search/query/profile/compiled/Binding.java