[Xapian-discuss] Latest document of a database?

Robert Pollak robert.pollak@fabasoft.com
Fri, 04 Jun 2004 10:22:48 +0200


Olly Betts wrote:
> This part isn't correct - the document ids are interleaved, so you need
> to convert (*i)->get_lastdocid() to give the docid in the combined
> database.

The attached version should work (although I have not tested it with 
multiplier > 1).

> It'd be nice to have this for inmemory too - it's just termlists.size()
> there.

Would you please add this if you think so? Thank you!

-- 
Robert Pollak
GPG Key ID: 748646AD