Active
Project:
Webmail Plus
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
8 Feb 2009 at 22:46 UTC
Updated:
8 Feb 2009 at 22:47 UTC
wpd($document);
if (is_object($solr)) {
try {
$solr -> addDocument($document);
$solr -> commit();
$solr -> optimize(FALSE, FALSE);
}
Don't commit and optimize on every document. See what we did here: http://drupal.org/node/292662