IProximityOperandsConstructionFlow IProximityOperandsConstructionFlow.NearSimpleTerm(string term) { var operand = SearchConditionNodeFactory.CreateSimpleTerm(rootOperator, term); operands.Add(operand); return(this); }
public IWeightedTermConstructionFlow SimpleTerm(string term) { var operand = SearchConditionNodeFactory.CreateSimpleTerm(rootOperator, term); weightedOperands.Add(operand, null); return(this); }
public IWeightedTermConstructionFlow SimpleTerm(string term, float weight) { EnsureWeightIsCorrect(weight); var operand = SearchConditionNodeFactory.CreateSimpleTerm(rootOperator, term); weightedOperands.Add(operand, weight); return(this); }
/// <inheritdoc/> public IProximityOperand SimpleTerm(string term) { return(SearchConditionNodeFactory.CreateSimpleTerm(this, term)); }