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

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

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

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