[Xapian-discuss] PHP Total document

Daniel Ménard Daniel.Menard at ehesp.fr
Thu Apr 23 09:00:22 BST 2009

Frank J Bruzzaniti a écrit :
> I was also wondering if someone could tell me how to extract the total 
> number of documents contained in a database via PHP.

Example :

$database = new XapianDatabase($path);
echo 'your database contains ', $database->get_doccount(), ' document(s)';


More information about the Xapian-discuss mailing list