replaced SCLT_EXCL clauses with general excl/neg flag

This commit is contained in:
Jean-Francois Dockes
2013-01-05 18:15:54 +01:00
parent cbc269abb1
commit 1b38c5c98c
9 changed files with 60 additions and 41 deletions
+2 -1
View File
@@ -206,7 +206,8 @@ SearchData_addclause(recoll_SearchDataObject* self, PyObject *args,
case 'E':
if (strcasecmp(tp, "excl"))
goto defaultcase;
cl = new Rcl::SearchDataClauseSimple(Rcl::SCLT_EXCL, qs, fld?fld:"");
cl = new Rcl::SearchDataClauseSimple(Rcl::SCLT_OR, qs, fld?fld:"");
cl->setexclude(true);
break;
case 'n':
case 'N':