On Wed, 26 Sep 2001, Gilles Detillieux wrote:

> Date: Wed, 26 Sep 2001 17:08:12 -0500 (CDT)
> From: Gilles Detillieux <[EMAIL PROTECTED]>
> To: Joe R. Jah <[EMAIL PROTECTED]>
> Cc: Geoff Hutchison <[EMAIL PROTECTED]>,
      [EMAIL PROTECTED]
> Subject: Re: [htdig-dev] Re: URL Rewrite patch for 3.1.6 snapshots
> 
> According to Joe R. Jah:
> > You are right; I must have been in a big hurry;)  I extracted the fresh
> > source, patched and compiled it without a problem, but when I randig I
> > got several hundreds of:
> > 
> >     DB2 problem...: missing or empty key value specified
> > 
> > and an empty database;(  Does it use the same format in the config file
> > as the Armstrong's patch?
> 
> Yes, but there's a bug in the code.  I got the same results.  Adding
> some debugging prints to htdig/Retriever.cc helped to find the problem.
> The URL was getting clobbered down to an empty string, hence the error
> message above.  The problem was that URL::rewrite() and HtURLRewriter.h
> assumed HtRegexList::Replace() returned a String, but in fact it returns
> an int and modifies the String argument in place.  I fixed these, and it
> seems to work like a charm.  Here's the updated patch, with the files
> I replaced.  I also added a url.rewrite() call in Retriever::got_redirect(),
> as it seems rewrites should be done there too, and I added in the extra
> debugging prints in Retriever.cc.

The patch applies like a charm; the source compiles without a problem.
Everything runs like a charm;)  It seems to me that searching is
noticeably faster too;) however, indexing takes three times as long
as 3.1.6 with Armstrong patch:( I wonder why;-/

_________3.1.6-082901 + ssl.4 + Armstrong patch________
htdig: Start digging: Tue Sep 25 19:43:14 PDT 2001
htmerge: Start merging: Tue Sep 25 20:09:57 PDT 2001
htmerge: Total word count: 110412
htmerge: Total documents: 7279
htmerge: Total doc db size (in K): 117405
htnotify: Start notifying: Tue Sep 25 20:12:25 PDT 2001
htfuzzy: Start fuzzying: Tue Sep 25 20:12:33 PDT 2001
rundig: end rundig: Tue Sep 25 20:13:35 PDT 2001
____________3.1.6-092301 + ssl.4 + this patch__________
htdig: Start digging: Wed Sep 26 15:44:56 PDT 2001
htmerge: Start merging: Wed Sep 26 17:10:49 PDT 2001
htmerge: Total word count: 107762
htmerge: Total documents: 7095
htmerge: Total doc db size (in K): 115092
htnotify: Start notifying: Wed Sep 26 17:13:02 PDT 2001
htfuzzy: Start fuzzying: Wed Sep 26 17:13:10 PDT 2001
rundig: end rundig: Wed Sep 26 17:14:16 PDT 2001
________________________________________________________

Regards,

Joe
-- 
     _/   _/_/_/       _/              ____________    __o
     _/   _/   _/      _/         ______________     _-\<,_
 _/  _/   _/_/_/   _/  _/                     ......(_)/ (_)
  _/_/ oe _/   _/.  _/_/ ah        [EMAIL PROTECTED]


_______________________________________________
htdig-dev mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/htdig-dev

Reply via email to