@SuppressWarnings({ "RedundantIfStatement" })
    @Override
    public boolean equals(Object obj) {
        if (!super.equals(obj)) {
            return false;
        }
        Hit rhs = (Hit)obj;
        if (Double.compare(rank, rhs.rank) != 0) {
            return false;
        }
        if (!equals(context, rhs.context)) {
            return false;
        }
        return true;
    }
Sets the context object of this hit. This is not serialized, and is merely a tag used by the QRS.

@param context The context to set.
@return This, to allow chaining.
searchlib/src/main/java/com/yahoo/searchlib/aggregation/Hit.java