public static LuceneIndexExpression GetLuceneExpression(Expression linqExpression) { var visitor = new ElasticSearchExpressionTreeVisitor(); visitor.VisitExpression(linqExpression); return(visitor.GetLuceneExpression()); }
private LuceneIndexExpression GetLuceneExpression(Expression expression) { return(ElasticSearchExpressionTreeVisitor.GetLuceneExpression(expression)); }