@Override
    public boolean equals(Object o) {
        return o instanceof AddValueUpdate && super.equals(o) && value.equals(((AddValueUpdate) o).value) &&
                weight.equals(((AddValueUpdate) o).weight);
    }
Return the associated weight of this value update.

@return the weight of this value update, or 1 if unset
document/src/main/java/com/yahoo/document/update/AddValueUpdate.java