瀏覽代碼

[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 15 年之前
父節點
當前提交
c6ed9a0231
共有 1 個文件被更改,包括 2 次插入2 次删除
  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;
         $count = 0;
 
 
         foreach ($this->_indices as $index) {
         foreach ($this->_indices as $index) {
-            $count += $this->_indices->count();
+            $count += $index->count();
         }
         }
 
 
         return $count;
         return $count;
@@ -172,7 +172,7 @@ class Zend_Search_Lucene_Interface_MultiSearcher implements Zend_Search_Lucene_I
         $docs = 0;
         $docs = 0;
 
 
         foreach ($this->_indices as $index) {
         foreach ($this->_indices as $index) {
-            $docs += $this->_indices->numDocs();
+            $docs += $index->numDocs();
         }
         }
 
 
         return $docs;
         return $docs;