Subject: Re: [htdig] htdig's -a option
From: Gilles Detillieux (email@example.com)
Date: Mon Aug 28 2000 - 09:18:29 PDT
According to firstname.lastname@example.org:
> As I understand it, the -a option on htdig is supposed to make it use
> working copies of the databases so that people can still be searching
> while htdig is indexing.
> Am I understanding this right?
> Do I have to add this option to other parts of rundig to make everything
> work correctly?
That's correct. You don't need to change the rundig script that comes
with the package to use -a. Just give rundig the -a option, and it will
be passed to htdig and htmerge, then rundig will move the work files into
place to replace the old database when it's done. If you want rundig
to use -a by default, just add it to the "alt" variable before the "for"
loop that scans the options. All this will work as long as you want to
reindex everything from scratch each time you run rundig.
If you want to update an existing database, but use a work copy while
updating, you may need to develop your own script, or use the example
in contrib/examples/rundig.sh as a starting point (it'll need slight
changes to reflect the current database file names).
-- Gilles R. Detillieux E-mail: <email@example.com> 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
------------------------------------ To unsubscribe from the htdig mailing list, send a message to firstname.lastname@example.org You will receive a message to confirm this. List archives: <http://www.htdig.org/mail/menu.html> FAQ: <http://www.htdig.org/FAQ.html>
This archive was generated by hypermail 2b28 : Tue Aug 29 2000 - 00:13:43 PDT