[Xapian-discuss] multi-database

Olly Betts olly at survex.com
Mon Oct 20 01:37:14 BST 2008


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



More information about the Xapian-discuss mailing list