Explorar el Código

[ZF-8284] Zend_Search_Lucene

Fixes typo. 

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@22967 44c647ce-9c0f-0410-b52a-842ac1e357ba
ramon hace 15 años
padre
commit
c6ed9a0231
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      library/Zend/Search/Lucene/MultiSearcher.php

+ 2 - 2
library/Zend/Search/Lucene/MultiSearcher.php

@@ -144,7 +144,7 @@ class Zend_Search_Lucene_Interface_MultiSearcher implements Zend_Search_Lucene_I
         $count = 0;
 
         foreach ($this->_indices as $index) {
-            $count += $this->_indices->count();
+            $count += $index->count();
         }
 
         return $count;
@@ -172,7 +172,7 @@ class Zend_Search_Lucene_Interface_MultiSearcher implements Zend_Search_Lucene_I
         $docs = 0;
 
         foreach ($this->_indices as $index) {
-            $docs += $this->_indices->numDocs();
+            $docs += $index->numDocs();
         }
 
         return $docs;