[Xapian-discuss] xapian_doc_id doubles if you search more than one database

Ted Jordan ted at qtis.co.nz
Wed Jan 4 04:59:16 GMT 2006


I noticed that if you search two databases then

$xapian_doc_id = MSetIterator_get_docid($mseti);

returns the wrong doc_id (exactly double the real doc_id).

Example: 
I had a document in one database with doc_id = 312.  It only exists in the one 
database.  But when I do a search through two databases it finds the one and 
only document (as expected) but reports the doc_id as 624.

Regards,
-Ted.




More information about the Xapian-discuss mailing list