turn cache in SeedDMS_Core_DMS on

This commit is contained in:
Uwe Steinmann 2023-04-14 12:47:57 +02:00
parent 53d7ab063d
commit 140b6de1a6

View File

@ -200,6 +200,7 @@ $stats['document']['update'] = 0;
$stats['document']['error'] = 0;
$stats['time']['total'] = time();
$numdocs = $fulltextservice->Indexer()->count();
$dms->usecache = true;
$folder = $dms->getFolder($settings->_rootFolderID);
/* if numdocs is 0, then there is no need to check if a document/folder is already
* indexed. That speeds up the indexing.