Ejemplo n.º 1
0
        public BinaryTerm AndBetween(string field, Token from, Token to, bool inclusive = true)
        {
            var range = new RangeTerm(Search, field, from, to, inclusive);

            return(new BinaryTerm(Search, field, BinaryTerm.Op.And, this, range));
        }
Ejemplo n.º 2
0
 public BinaryTerm OrBetween(string field, Token from, Token to, bool inclusive = true)
 {
     var range = new RangeTerm(Search, field, from, to, inclusive);
     return new BinaryTerm(Search, field, BinaryTerm.Op.Or, this, range);
 }