IProximityOperandsConstructionFlow IProximityOperandsConstructionFlow.NearSimpleTerm(string term)
        {
            var operand = SearchConditionNodeFactory.CreateSimpleTerm(rootOperator, term);

            operands.Add(operand);
            return(this);
        }
Пример #2
0
        public IWeightedTermConstructionFlow SimpleTerm(string term)
        {
            var operand = SearchConditionNodeFactory.CreateSimpleTerm(rootOperator, term);

            weightedOperands.Add(operand, null);
            return(this);
        }
Пример #3
0
        public IWeightedTermConstructionFlow SimpleTerm(string term, float weight)
        {
            EnsureWeightIsCorrect(weight);
            var operand = SearchConditionNodeFactory.CreateSimpleTerm(rootOperator, term);

            weightedOperands.Add(operand, weight);
            return(this);
        }
Пример #4
0
 /// <inheritdoc/>
 public IProximityOperand SimpleTerm(string term)
 {
     return(SearchConditionNodeFactory.CreateSimpleTerm(this, term));
 }