[htdig3-dev] Redirects still counted as documents?


Subject: [htdig3-dev] Redirects still counted as documents?
From: Patrick (patrick@aol2.com)
Date: Tue Oct 24 2000 - 08:20:14 PDT


Could someone give me a clue as to how to make sure that the
document counter during a dig is not incremented when encountering
a server redirect (HTTP code 301/302)? I'm in Retriever.cc
and it looks like the total index size is incremented in
the routine Retriever::Start(), but redirect handling is in the
routine Retriever::parse_url, and I'm not certain as to how
to make the total index size NOT increase by one in the first
routine (by seeing that it's a redirect) or how to DECREMENT the
total index size by one in the second routine.

Thanks for any help.

------------------------------------
To unsubscribe from the htdig3-dev mailing list, send a message to
htdig3-dev-unsubscribe@htdig.org
You will receive a message to confirm this.



This archive was generated by hypermail 2b28 : Tue Oct 24 2000 - 08:26:47 PDT