IProximityOperandsConstructionFlow IProximityOperandsConstructionFlow.NearPrefixTerm(string prefix) { var operand = SearchConditionNodeFactory.CreatePrefixTerm(rootOperator, prefix); operands.Add(operand); return(this); }
public IWeightedTermConstructionFlow PrefixTerm(string prefix) { var operand = SearchConditionNodeFactory.CreatePrefixTerm(rootOperator, prefix); weightedOperands.Add(operand, null); return(this); }
public IWeightedTermConstructionFlow PrefixTerm(string prefix, float weight) { EnsureWeightIsCorrect(weight); var operand = SearchConditionNodeFactory.CreatePrefixTerm(rootOperator, prefix); weightedOperands.Add(operand, weight); return(this); }
/// <inheritdoc/> public IProximityOperand PrefixTerm(string prefix) { return(SearchConditionNodeFactory.CreatePrefixTerm(this, prefix)); }