@Override
    public int hashCode() {
        return 31 * super.hashCode() + (docId != null ? docId.hashCode() : 0);
    }
Returns true if the argument is a document which has the same set of values
document/src/main/java/com/yahoo/document/Document.java