I am writing a C++ application that takes a large group of documents and indexes them. I primarily want to return the document IDs only to the querying client and possibly come back later for the full text of the document for display (usually only one document is retrieved). Is there a way to easily come back with the doc.id later and then fetch the text of the document using a Xapian API call using the doc.id or do I have to keep the original document somewhere else? ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.
On Mon, Jul 10, 2006 at 09:42:34AM -0400, mlewis@xelent.net wrote:> Is there a way to easily come back with the doc.id later and then > fetch the text of the document using a Xapian API call using the > doc.id or do I have to keep the original document somewhere else?Database::get_document(docid) Cheers, Olly