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(); } }
/// <inheritdoc /> public IFilterFactory <T> OrElse() { _documentQuery.OrElse(); return(this); }