[Xapian-discuss] Iterating through all the documents of a db

Marco Tabini marcot at tabini.ca
Fri Jun 24 22:27:33 BST 2005


Hi All--

Is there a way to iterate through all the documents in a database? I *can*
just get the last doc id and work my way through sequentially, trapping any
errors which indicate that a specific document doesn't exist... But that
seems like such an inefficient way of doing things :)

I need this to do some maintenance on the documents.

Thanks,


Marco





More information about the Xapian-discuss mailing list