Author: pb
Date: Tue Nov 4 17:58:11 2008
New Revision: 3294
Log:
- removed heuristics on commit logic, if content is updated, it should be
reflected in the search index right away. For batch processing this can be
altered anyway
Modified:
ezfind/ezp4/trunk/extension/ezfind/search/plugins/ezsolr/ezsolr.php
Modified: ezfind/ezp4/trunk/extension/ezfind/search/plugins/ezsolr/ezsolr.php
==============================================================================
--- ezfind/ezp4/trunk/extension/ezfind/search/plugins/ezsolr/ezsolr.php (original)
+++ ezfind/ezp4/trunk/extension/ezfind/search/plugins/ezsolr/ezsolr.php Tue Nov 4 17:58:11 2008
@@ -393,11 +393,7 @@
if ( $commit )
{
- // For every 1000 time, call optimize
- if ( mt_rand( 0, 999 ) == 1 )
- {
- $this->optimize();
- }
+ $this->optimize( true );
}
}
_______________________________________________
svn-eZFind mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/svn-ezfind