On Fri, Oct 17, 2008 at 04:46:15PM +0800, Andrey wrote: > After i got the mset from a search over 2 DBs. How do I know which DB (DB1 > or BD2) the Document resides? The docids are interleaved. This gives the docid formula: http://article.gmane.org/gmane.comp.search.xapian.general/990 For the database, just use % instead of /. Cheers, Olly