private function _updateDocCount()
    {
        $this->_docCount = 0;
        foreach ($this->_segmentInfos as $segInfo) {
            $this->_docCount += $segInfo->count();
        }
    }
private function _updateDocCount()
    {
        $this->_docCount = 0;
        foreach ($this->_segmentInfos as $segInfo) {
            $this->_docCount += $segInfo->count();
        }
    }
private function _updateDocCount ( ) { $ this -> _docCount = 0 ; foreach ( $ this -> _segmentInfos as $ segInfo ) { $ this -> _docCount += $ segInfo -> count ( ) ; } }
Update document counter
Update document counter