From 73b4e273fbfdf6d40d21986b28027847ad5a528c Mon Sep 17 00:00:00 2001 From: conradverm Date: Mon, 23 Jun 2008 10:22:22 +0000 Subject: [PATCH] KTS-3444 "Indexing needs to be more resiliant when encountering errors with open office" Fixed. Rewrote expression used to resume processing failed indexed documents. --- search2/indexing/indexerCore.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/search2/indexing/indexerCore.inc.php b/search2/indexing/indexerCore.inc.php index dd9fed7..8966964 100755 --- a/search2/indexing/indexerCore.inc.php +++ b/search2/indexing/indexerCore.inc.php @@ -951,7 +951,7 @@ abstract class Indexer INNER JOIN mime_types mt ON dcv.mime_id=mt.id LEFT JOIN mime_extractors me ON mt.extractor_id=me.id WHERE - (iff.processdate IS NULL or iff.processdate < cast(cast('$date' as date) -1 as date)) AND dmv.status_id=1 + (iff.processdate IS NULL or iff.processdate < date_sub('$date', interval 1 day)) AND dmv.status_id=1 ORDER BY indexdate LIMIT $max"; $result = DBUtil::getResultArray($sql); -- libgit2 0.21.4