Author: mcantelon
Date: Tue Jan 10 14:07:25 2012
New Revision: 10626

Log:
Disabled search indexing to improve import speed.

Modified:
   trunk/lib/task/csvImportTask.class.php

Modified: trunk/lib/task/csvImportTask.class.php
==============================================================================
--- trunk/lib/task/csvImportTask.class.php      Tue Jan 10 13:58:43 2012        
(r10625)
+++ trunk/lib/task/csvImportTask.class.php      Tue Jan 10 14:07:25 2012        
(r10626)
@@ -105,6 +105,9 @@
       QubitTaxonomy::MATERIAL_TYPE_ID  => 'materialTypes'
     ));
 
+    // disable search indexing to improve import speed
+    QubitSearch::getInstance()->disabled = true;
+
     // Define import
     $import = new QubitFlatfileImport(array(
       /* the status array is a place to put data that should be accessible

-- 
You received this message because you are subscribed to the Google Groups 
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/qubit-commits?hl=en.

Reply via email to