[Xapian-discuss] Re: Boolean merging of DB's

David Morris dmorris at sirca.org.au
Fri Aug 3 07:42:03 BST 2007


David Morris <dmorris <at> sirca.org.au> writes:

> 
> Hi,
> 
> I'm wondering if there is a xapian-compact tool that lets me do boolean merging
> of  2 xapian db's into one db.
> 
> Take this scenario: I have db 'A' with 100 doc's and db 'B' with 30 doc's. Most
> of the docs in B will also be in A, but with newer content, so when I merge
> them, I want to make a db 'C' with everything in A, but anything newer that's
> contained in B will overwrite any A entries.
> 
> Makes sense?
> 
> (captcha: compacts)
> 


Actually, please ignore me, this doesn't quite make sense. There's no way to
know the mapping of a document in one db to the "same" document in another db...

It's all good, I can make a custom merge app that can do this...




More information about the Xapian-discuss mailing list