Example #1
0
 protected override void VisitWhereBetween(WhereBetweenExpression expression)
 {
     this.whereClause.AppendFormat("(doc[{0}]>{1}&&doc[{0}]<{2})", MakeValue(expression.FieldName), MakeValue(expression.Start), MakeValue(expression.End));
     this.viewNameBuilder.AppendFormat("{1}_LT_{0}_GT_{2}", expression.FieldName, AsViewNameString(expression.Start), AsViewNameString(expression.End));
 }
Example #2
0
 protected abstract void VisitWhereBetween(WhereBetweenExpression expression);
Example #3
0
        public IContentQuery <T> WhereBetween(string fieldName, object start, object end)
        {
            var expression = new WhereBetweenExpression(this.Expression, fieldName, start, end);

            return(this.Create(expression));
        }