Greetings,

 I'm trying to get htdig to add and remove a single file from an index
via the shell. htpurge works without any problems, but I can't get htdig
to reindex a page to re-insert it after it has been purged. In this case
HtDig says that it has been retrieved but not changed (even though I
exectued this right after a purge and the record no longer shows up in
search results). Shouldn't it be removed completely from the db after
being purged? 

Here's the command I executed and the resulting output:

[EMAIL PROTECTED] bin]# echo 'http://newfind.mcgill.ca/indexes/ads/?AdsID=1026232' | 
./htdig - -s -v -m -c /www/htdig/install/conf/ads.conf

ht://dig Start Time: Thu Nov 13 15:21:48 2003

New server: newfind.mcgill.ca, 80
 - Persistent connections: enabled
 - HEAD before GET: disabled
 - Timeout: 30
 - Connection space: 0
 - Max Documents: -1
 - TCP retries: 1
 - TCP wait time: 5
 - Accept-Language:
0:11470:0:http://newfind.mcgill.ca/indexes/ads/?AdsID=1026232:  retrieved but not 
changed
htdig: Run complete
htdig: 1 server seen:
htdig:     newfind.mcgill.ca:80 1 document

HTTP statistics
===============
 Persistent connections    : Yes
 HEAD call before GET      : No
 Connections opened        : 2
 Connections closed        : 1
 Changes of server         : 0
 HTTP Requests             : 2
 HTTP KBytes requested     : 0.375
 HTTP Average request time : 0 secs
 HTTP Average speed        : inf KBytes/secs

ht://dig End Time: Thu Nov 13 15:21:48 2003

I really need to find a way to get htdig to add a page to the index via
shell. Any help here would be much appreciated.

Cheers,

Chris

-- 
Christopher Murtagh
Enterprise Systems Administrator
ISR / Web Communications Group 
McGill University
Montreal, Quebec
Canada

Tel.: (514) 398-3122
Fax:  (514) 398-2017


-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
_______________________________________________
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