/** * Returns the total number of non-deleted documents in this index. * * @return integer */ public function numDocs() { return $this->_index->numDocs(); }
/** * Get the document count * * @return int Document count */ public function getDocumentCount() { return $this->_data->numDocs(); }