public override bool Equals(System.Object o) { if (!(o is BoostingTermQuery)) { return(false); } BoostingTermQuery other = (BoostingTermQuery)o; return((this.GetBoost() == other.GetBoost()) && this.term.Equals(other.term)); }
public BoostingTermWeight(BoostingTermQuery enclosingInstance, BoostingTermQuery query, Searcher searcher) : base(enclosingInstance, query, searcher) { InitBlock(enclosingInstance); }
public BoostingTermWeight(BoostingTermQuery enclosingInstance, BoostingTermQuery query, Searcher searcher):base(enclosingInstance, query, searcher) { InitBlock(enclosingInstance); }
private void InitBlock(BoostingTermQuery enclosingInstance) { this.enclosingInstance = enclosingInstance; }