According to Karl H. Beckers:
> memory of whether I only ran rundig -a or rundig and deleted the db files
> before doing so. Would you expect that to make a difference? Like: If the
> db files are messed up, does a rundig without -i overwrite EVERYTHING or
> are there things that remain and might carry faults into the new db?

If you run the standard rundig script that's installed from the ht://Dig
distribution, then it provides the -i option to htdig itself.  You don't
need to, nor should you, put -i on the rundig command line, as it'll
just confuse some of the other programs that rundig runs.  But yes,
this script should overwrite everything for you.  When it runs htdig
-i, it will rebuild the db.wordlist and db.docdb files from scratch,
and when it runs htmerge, it will rebuild db.words.db and db.docs.index.
For the 3.1.x versions of ht://Dig, that's pretty much all there is to
the database.

If you're using some of the fuzzy match algorithms that use databases
that are build from the word database, like soundex, metaphone and
accents, there's a possibility of "carry-over" in their databases.
If you use these algorithms, you should fix the rundig script to rebuild
the necessary databases each time you run it, so they're in sync with
the updated word database.

The only other potential carry-over problem I can think of is if you
interrupt htdig, it will create a db.log file of URLs remaining to be
indexed.  So, next time you start htdig (with or without -i, and from
rundig or from elsewhere) it will load up db.log and index all those
URLs, even if in between the two runs you changed config attributes so
as not to index some URLs it was grabbing before.  This db.log file will
go away after htdig runs to completion.  But if you're having problems
with it running on and on, it may be that you keep interrupting it, so
it keeps regenerating this file.  Look for it in your database directory
and remove it if you want a fresh start of htdig.  See the last point
in http://www.htdig.org/FAQ.html#q5.31

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


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
ht://Dig general mailing list: <[EMAIL PROTECTED]>
ht://Dig FAQ: http://htdig.sourceforge.net/FAQ.html
List information (subscribe/unsubscribe, etc.)
https://lists.sourceforge.net/lists/listinfo/htdig-general

Reply via email to