Commit 73b4e273fbfdf6d40d21986b28027847ad5a528c
1 parent
fdcd99cf
KTS-3444
"Indexing needs to be more resiliant when encountering errors with open office" Fixed. Rewrote expression used to resume processing failed indexed documents. Committed By: Conrad Vermeulen Reviewed By: Megan Watson git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@8654 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
1 additions
and
1 deletions
search2/indexing/indexerCore.inc.php
| @@ -951,7 +951,7 @@ abstract class Indexer | @@ -951,7 +951,7 @@ abstract class Indexer | ||
| 951 | INNER JOIN mime_types mt ON dcv.mime_id=mt.id | 951 | INNER JOIN mime_types mt ON dcv.mime_id=mt.id |
| 952 | LEFT JOIN mime_extractors me ON mt.extractor_id=me.id | 952 | LEFT JOIN mime_extractors me ON mt.extractor_id=me.id |
| 953 | WHERE | 953 | WHERE |
| 954 | - (iff.processdate IS NULL or iff.processdate < cast(cast('$date' as date) -1 as date)) AND dmv.status_id=1 | 954 | + (iff.processdate IS NULL or iff.processdate < date_sub('$date', interval 1 day)) AND dmv.status_id=1 |
| 955 | ORDER BY indexdate | 955 | ORDER BY indexdate |
| 956 | LIMIT $max"; | 956 | LIMIT $max"; |
| 957 | $result = DBUtil::getResultArray($sql); | 957 | $result = DBUtil::getResultArray($sql); |