According to Franck Horlaville:
> Yeah, remove the "-i" after htdig in the script and use rundig -a
> 
> Removing the -i does an update instead of an initial and -a does it 
> on alternate  databases so your searches work during the update.

No, it's not that simple.  If you remove the -i on the htdig command in
rundig, you essentially break the -a support in that script.  The file
manipulations that rundig -a does assume that you've created a new
database from scratch, and all files are moved from .work files to
the original file locations.  However, nothing is done before running
htdig to move or copy the db.wordlist and db.docdb to .work files before
running htdig.  The end result is that a rundig -a will still reindex
your site from scratch.

If you want to update an existing database, while still allowing it
to be searched, you need to use the contributed rundig.sh script that
does the proper file manipulations to have the necessary .work files in
place before running htdig.  These manipulations are version-specific,
so you need the right version of rundig.sh.  Unfortunately, the one that
was shipped in contrib/examples/rundig.sh in all released versions of
htdig, including 3.1.x and 3.2.0 betas, was for 3.0.x.  These scripts are
updated correctly in the latest 3.1.6 and 3.2.0b4 development snapshots.

-- 
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