Skip to content

Commit e13bd7d

Browse files
committed
Fixed MultiSearcher numDocs() method
1 parent 416e634 commit e13bd7d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

library/ZendSearch/Lucene/MultiSearcher.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ public function numDocs()
160160
$docs = 0;
161161

162162
foreach ($this->_indices as $index) {
163-
$docs += $this->_indices->numDocs();
163+
$docs += $index->numDocs();
164164
}
165165

166166
return $docs;

0 commit comments

Comments
 (0)