Author: pb
Date: Mon Dec 29 16:35:37 2008
New Revision: 3434
Log:
- implemented correct implementation for bug #013889:
/bin/php/updatesearchindexsolr.php doesn't index all objects, using array() as
limitation instead of false
Modified:
ezfind/ezp4/trunk/extension/ezfind/bin/php/updatesearchindexsolr.php
ezfind/ezp4/trunk/extension/ezfind/doc/changelogs/2.0/unstable/CHANGELOG-2.0.0alpha1-to-2.0.0beta1
Modified: ezfind/ezp4/trunk/extension/ezfind/bin/php/updatesearchindexsolr.php
==============================================================================
--- ezfind/ezp4/trunk/extension/ezfind/bin/php/updatesearchindexsolr.php (original)
+++ ezfind/ezp4/trunk/extension/ezfind/bin/php/updatesearchindexsolr.php Mon Dec 29 16:35:37 2008
@@ -166,7 +166,7 @@
$searchEngine = new eZSolr();
if ( $subTree = $node->subTree( array( 'Offset' => $offset, 'Limit' => $limit,
- 'Limitation' => false,
+ 'Limitation' => array(),
'MainNodeOnly' => true ) ) )
{
foreach ( $subTree as $innerNode )
@@ -274,7 +274,7 @@
$nodeID = $node->attribute( 'node_id' );
$offset = 0;
- $subtreeCount = $node->subTreeCount( array( 'Limitation' => false, 'MainNodeOnly' => true ) );
+ $subtreeCount = $node->subTreeCount( array( 'Limitation' => array(), 'MainNodeOnly' => true ) );
// While $offset < subtree count, loop through the nodes.
while( $offset < $subtreeCount )
{
Modified: ezfind/ezp4/trunk/extension/ezfind/doc/changelogs/2.0/unstable/CHANGELOG-2.0.0alpha1-to-2.0.0beta1
==============================================================================
--- ezfind/ezp4/trunk/extension/ezfind/doc/changelogs/2.0/unstable/CHANGELOG-2.0.0alpha1-to-2.0.0beta1 (original)
+++ ezfind/ezp4/trunk/extension/ezfind/doc/changelogs/2.0/unstable/CHANGELOG-2.0.0alpha1-to-2.0.0beta1 Mon Dec 29 16:35:37 2008
@@ -20,3 +20,4 @@
- fixed bug #014112: ironic typo in search.tpl
- fixed part of bug #014111: Results that contain literal text can create strange output. schema.xml will not tokenize, but html constructs are still returned in highlight snippets
- changed error into normal debug message when facet fields are missing
+- implemented correct implementation for bug #013889: /bin/php/updatesearchindexsolr.php doesn't index all objects, using array() as limitation instead of false
_______________________________________________
svn-eZFind mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/svn-ezfind