Christiano Anderson
2005-Sep-26 18:48 UTC
[Xapian-discuss] Merging two or more databases with quartzcompact
Hello, First of all, I would like to thank everyone who helped me on my last questions. Xapian is a great software, it is working very well for me. For now, I have one more question! :) Is it possible and safe to use quartzcompact to merge two or more databases into one bigger? For example, I need to merge three databases: mydb01, mydb02 and mydb03. I would run following command, resulting a bigdb with all databases: $ quartzcompact mydb01 mydb02 mydb03 bigdb Is it safe to run like this? Will Xapian rewrite all docids to avoid duplicates? Thanks again, Christiano
Olly Betts
2005-Sep-26 18:55 UTC
[Xapian-discuss] Merging two or more databases with quartzcompact
On Mon, Sep 26, 2005 at 02:48:02PM -0300, Christiano Anderson wrote:> $ quartzcompact mydb01 mydb02 mydb03 bigdb > > Is it safe to run like this? Will Xapian rewrite all docids to avoid > duplicates?It's safe - all the docids in mydb02 and mydb03 will be shifted up by suitable amounts. Cheers, Olly