/// <summary>Returns a hash code value for this object. </summary> public override int GetHashCode() { return(query.GetHashCode() ^ filter.GetHashCode() + System.Convert.ToInt32(GetBoost())); }
/// <summary>Returns a hash code value for this object.</summary> public override int GetHashCode() { return(query.GetHashCode() ^ (Occur.MUST.Equals(occur)?1:0) ^ (Occur.MUST_NOT.Equals(occur)?2:0)); }