According to Sean R. Hessenthaler:
> I know how to use htdig to merge the databases but before I do that I would
> like to know if the merging process get's rid of the initial database?
> 
> for instance if my databases are se.db, ne.db, etc. and my main database
> where I want all of them is named main.db.  when I merge the se.db into the
> main.db will a copy of the se.db still be there for the regional search to
> work or will i have to reindex?

If you merge se.db into main.db, se.db will still be there unchanged.
Indeed, htmerge really ought to open the database specified by the -m
config file as read-only, however because of a strange quirk in the DB
code it has to open it read/write to get the info it needs.  So, the
modification time of the docdb changes, but the contents are not altered.

The target database, main.db is the only one that's changed.  It will
contain whatever was in it before the merge, plus any new records it
copied from se.db, minus any records it may have had in it that were
superceded by newer records copied from se.db.  I.e. for a given URL
that appears in both databases, only the more recent of the two records
is kept in the target database (main.db).

-- 
Gilles R. Detillieux              E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/~grdetil
Dept. Physiology, U. of Manitoba  Phone:  (204)789-3766
Winnipeg, MB  R3E 3J7  (Canada)   Fax:    (204)789-3930

_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a 
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html

Reply via email to