[Xapian-discuss] get_docid over multi-database search

Olly Betts olly at survex.com
Thu Nov 22 00:11:20 GMT 2007


On Wed, Nov 21, 2007 at 01:44:11PM -0800, Andrey wrote:
> say I have 2 databases, DB1 and DB2
> 
> after i preformed a search over these 2 DBs, i have 1 result and I want to 
> delete this resulting doc, how do i identify which database (DB1 / DB2) this 
> document resides? and how to get its docid which is needed during the delete 
> process


http://article.gmane.org/gmane.comp.search.xapian.general/1375

> (delete process must over single writeableDatabase,right?)

Yes, WritableDatabase doesn't currently allow multiple subdatabases.

Cheers,
    Olly



More information about the Xapian-discuss mailing list