Re: [htdig3-dev] Updating only a part of the database


U.O. Telematica Municipale - Comune di Prato (tlm@po-net.prato.it)
Wed, 03 Feb 1999 11:04:48 +0100


In 08.27 01/02/99 -0400, hai scritto:

>Go to http://www.htdig.org/files/snapshots/ Download

>htdig-3.1.0dev-013199.tar.gz. This is a snapshot of the latest
development

>code from the CVS tree. It was current as of 12:00AM EST Sunday
morning.

>

>-Geoff

>

I did this way. But it doesn't work yet as I would.

Infact if I re-run htdig <underline>without options</underline>, trying
to update only a part of the whole database, it works very well. It
recognizes the changed files and not found ones too. But I would like to
make it run with "-a" option, that would allow me to make it searchable
while the updating process.

Here it is:

HTDIG RUN WITHOUT OPTIONS

0:1:1:http://search.comune.prato.it:81/prova/2/2.htm: (changed) * size =
202

1:3:2:http://search.comune.prato.it:81/prova/2/4/4.htm: not changed

2:4:2:http://search.comune.prato.it:81/prova/2/5/5.htm: not found

3:2:1:http://search.comune.prato.it:81/prova/3/3.htm: not changed

4:0:-1:http://search.comune.prato.it:81/prova/home.htm: not changed

htdig: Run complete

htdig: 1 server seen:

htdig: search.comune.prato.it:81 5 documents

htdig: Errors to take note of:

Not found: http://search.comune.prato.it:81/prova/2/5/5.htm Ref:

htmerge: Sorting...

htmerge: doc #1 has been superceeded.

<bold>htmerge: Removing doc #4

</bold>htmerge: Merging...

As you can see, it removes the file that it doesn't find.

HTDIG WITH RUN "-a" OPTION

0:1:1:http://search.comune.prato.it:81/prova/2/2.htm: (changed) * size =
202

1:3:2:http://search.comune.prato.it:81/prova/2/4/4.htm: not changed

2:4:2:http://search.comune.prato.it:81/prova/2/5/5.htm: not found

3:2:1:http://search.comune.prato.it:81/prova/3/3.htm: not changed

4:0:-1:http://search.comune.prato.it:81/prova/home.htm: not changed

htdig: Run complete

htdig: 1 server seen:

htdig: search.comune.prato.it:81 5 documents

htdig: Errors to take note of:

Not found: http://search.comune.prato.it:81/prova/2/5/5.htm Ref:

htmerge: Sorting...

htmerge: Merging...

As you can see, it doesn't remove the file
http://search.comune.prato.it:81/prova/2/5/5.htm

I hope I could be useful to you

Thanks and Ciao

Gabriele

----------------------------------------------------------

 U.O. Rete Civica - Comune di Prato

 Via Ricasoli, 4 - 59100 Prato PO Italia

 Tel. +39 0574616342 Fax +39 0574616003

 http://www.comune.prato.it

 E-Mail: tlm@mbox.comune.prato.it

----------------------------------------------------------
------------------------------------
To unsubscribe from the htdig3-dev mailing list, send a message to
htdig3-dev@htdig.org containing the single word "unsubscribe" in
the SUBJECT of the message.



This archive was generated by hypermail 2.0b3 on Thu Feb 04 1999 - 22:20:31 PST