public override void VisitWhereClause(WhereClause whereClause, QueryModel queryModel, int index)
 {
     var visitor = new QueryBuildingExpressionTreeVisitor(context, fieldMappingInfoProvider);
     visitor.VisitExpression(whereClause.Predicate);
     
     model.AddQuery(visitor.Query);
 }
 public void SetUp()
 {
     fieldMappingInfoProvider = new FieldMappingInfoProviderStub { IsNumeric = true };
     builder = new QueryBuildingExpressionTreeVisitor(new Context(new RAMDirectory(), new LowercaseKeywordAnalyzer(), version, null, new object()), fieldMappingInfoProvider);
 }
 public void SetUp()
 {
     analyzer = new PorterStemAnalyzer(version);
     builder = new QueryBuildingExpressionTreeVisitor(new Context(new RAMDirectory(), analyzer, version, null, new object()), null);
 }
 public void SetUp()
 {
     fieldMappingInfoProvider = new FieldMappingInfoProviderStub();
     builder = new QueryBuildingExpressionTreeVisitor(fieldMappingInfoProvider);
 }