Example #1
0
        public static LuceneIndexExpression GetLuceneExpression(Expression linqExpression)
        {
            var visitor = new ElasticSearchExpressionTreeVisitor();

            visitor.VisitExpression(linqExpression);
            return(visitor.GetLuceneExpression());
        }
Example #2
0
 private LuceneIndexExpression GetLuceneExpression(Expression expression)
 {
     return(ElasticSearchExpressionTreeVisitor.GetLuceneExpression(expression));
 }