Exemple #1
0
        private void VisitOrElse(BinaryExpression orElse)
        {
            if (subClauseDepth > 0)
            {
                luceneQuery.OpenSubclause();
            }
            subClauseDepth++;

            VisitExpression(orElse.Left);
            luceneQuery.OrElse();
            VisitExpression(orElse.Right);

            subClauseDepth--;
            if (subClauseDepth > 0)
            {
                luceneQuery.CloseSubclause();
            }
        }
Exemple #2
0
 /// <inheritdoc />
 public IFilterFactory <T> OrElse()
 {
     _documentQuery.OrElse();
     return(this);
 }