[Xapian-discuss] problem with multi-database search, xapian 0.9.10

Olly Betts olly at survex.com
Mon Feb 18 15:50:37 GMT 2008


On Mon, Feb 18, 2008 at 09:04:32PM +0600, Vasiliy Sergeev wrote:
> If I understand it right, if I call replace_document(1000000, 
> updated_doc) even if docid=1000000 does not exist, xapian will add this 
> updated_doc to database with docid=1000000, right?

Yes.

> So if my documents in database have ids like 4227584824, 4227584825, 
> 4227584826, 4227584827, etc. they will have ids 1,2,3,4, etc...right?

Yes.  But if 4227584826 wasn't used before, 3 won't be after.

Cheers,
    Olly



More information about the Xapian-discuss mailing list