I think I actually know the answer here!

On 20 Nov 2002 at 14:11, Jonathan Schlackl wrote:

>   Furthermore - I am not clear on what actual commands I need to run - here 
> is what I'm doing now - am I missing something??
> 
>       BUILD MASTER DATABASE
>       rundig -vvv -a -c configfile > htdig.out
>       cp -p $dbdir/db.docdb.work $dbdir/db.docdb
>       cp -p $dbdir/db.docs.index.work $dbdir/db.docs.index
>       cp -p $dbdir/db.excerpts.work $dbdir/db.excerpts
>       cp -p $dbdir/db.words.db.work $dbdir/db.words.db
>       cp -p $dbdir/db.words.db.work_weakcmpr $dbdir/db.words.db_weakcmpr
> 
>       BUILD 1ST MERGE DATABASE
>       rundig -vvv -a -c configfile2 > htdig2.out
>       mv $dbdir2/db.docdb.work $dbdir2/db.docdb
>       mv $dbdir2/db.docs.index.work $dbdir2/db.docs.index
>       mv $dbdir2/db.excerpts.work $dbdir2/db.excerpts
>       mv $dbdir2/db.words.db.work $dbdir2/db.words.db
>       mv $dbdir2/db.words.db.work_weakcmpr $dbdir2/db.words.db_weakcmpr

Then you run htmerge over that data.  

>       DO THE MERGE INTO THE MASTER DATABASE
>       htmerge -a -v -c configfile -m configfile2

Yep, but read http://www.htdig.org/htmerge.html and look under the -m 
where it says: "Note: You must run htmerge  separately on each of the 
databases created by htdig before merging them together with this 
option. This is because merging the two wordlists together requires 
wordlists that have already been cleaned up by htmerge. Because the -
m option allows you to specify only one database to be merged into 
the other, and only one -m option may be specified, if you need to 
merge three or more databases together you must run htmerge multiple 
times with the -m option."

>       COPY THE .WORK FILES BACK TO THE MASTER DB FILES
>       cp -p $dbdir/db.docdb.work $dbdir/db.docdb
>       cp -p $dbdir/db.docs.index.work $dbdir/db.docs.index
>       cp -p $dbdir/db.excerpts.work $dbdir/db.excerpts
>       cp -p $dbdir/db.words.db.work $dbdir/db.words.db
>       cp -p $dbdir/db.words.db.work_weakcmpr $dbdir/db.words.db_weakcmpr
> 
>       BUILD THE 2ND MERGE DATABASE
>       rundig -vvv -a -c configfile3 > htdig3.out
>       mv $dbdir3/db.docdb.work $dbdir3/db.docdb
>       mv $dbdir3/db.docs.index.work $dbdir3/db.docs.index
>       mv $dbdir3/db.excerpts.work $dbdir3/db.excerpts
>       mv $dbdir3/db.words.db.work $dbdir3/db.words.db
>       mv $dbdir3/db.words.db.work_weakcmpr $dbdir3/db.words.db_weakcmpr

Then you'd do an htmerge on configfile3

>       DO THE MERGE INTO THE MASTER DATABASE
>       htmerge -a -v -c configfile -m configfile3
> 
>       COPY THE .WORK FILES BACK TO THE MASTER DB FILES
>       cp -p $dbdir/db.docdb.work $dbdir/db.docdb
>       cp -p $dbdir/db.docs.index.work $dbdir/db.docs.index
>       cp -p $dbdir/db.excerpts.work $dbdir/db.excerpts
>       cp -p $dbdir/db.words.db.work $dbdir/db.words.db
>       cp -p $dbdir/db.words.db.work_weakcmpr $dbdir/db.words.db_weakcmpr

Hope that is right.
-- 
Dan Langille : http://www.langille.org/



-------------------------------------------------------
This sf.net email is sponsored by: 
Battle your brains against the best in the Thawte Crypto 
Challenge. Be the first to crack the code - register now: 
http://www.gothawte.com/rd521.html
_______________________________________________
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