public override bool Equals(System.Object obj) { if (this == obj) { return(true); } if (!base.Equals(obj)) { return(false); } if (GetType() != obj.GetType()) { return(false); } PayloadTermQuery other = (PayloadTermQuery)obj; if (function == null) { if (other.function != null) { return(false); } } else if (!function.Equals(other.function)) { return(false); } if (includeSpanScore != other.includeSpanScore) { return(false); } return(true); }
public PayloadTermWeight(PayloadTermQuery enclosingInstance, PayloadTermQuery query, Searcher searcher):base(query, searcher) { InitBlock(enclosingInstance); }
private void InitBlock(PayloadTermQuery enclosingInstance) { this.enclosingInstance = enclosingInstance; }
public PayloadTermWeight(PayloadTermQuery enclosingInstance, PayloadTermQuery query, Searcher searcher) : base(query, searcher) { InitBlock(enclosingInstance); }