According to Jerry Asher:
> I've been thinking of implementing an incremental dig with the following 
> cycle: in a bboard where a new comment has been appended to an existing 
> page of comments, the cycle might be (for example)
> 
> a)  htdig with a start url of the thread into a new db
> b)  htpurge of the url of the thread from the old db
> c)  htmerge of the new and old db
> 
> So, here are my questions:
> 
> Is there an easier way to accomplish this?

You may also want to look into using the -m option to htdig for minimal
updates to a database.

> Is step (b) necessary?

Not if the URL is the same.  When htmerge encounters 2 records with the
same URL, it takes the most recent one.

> What are the time requirements of htpurge and htmerge?  That is, if I have 
> a moderate to large existing db, will the htpurge of one url be longer than 
> if the db is small?  What would you think the total elapsed time of steps b 
> and c are?

Total elapsed time depends on too many factors for me to give a meaningful
answer.  The only way to know what it'll be for your circumstances is
to try it and time it.  The htpurge step should be quite quick, even
for a large db, though I expect it to be quicker still on a smaller db.
The htmerge step would be more time-consuming.

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