On Fri, 12 Oct 2001, Gilles Detillieux wrote:

+ > Apply this in your 3.1.5 or 3.1.6 snapshot main source directory, using
+ > "patch -p0 < this-message".
+
+ --- htlib/URL.cc.orig Thu Sep 27 17:02:10 2001
+ +++ htlib/URL.cc      Thu Oct 11 08:59:16 2001
+ @@ -477,8 +477,10 @@ void URL::removeIndex(String &path)
+        defaultdoc->Pattern(l.Join('|'));
+        l.Release();
+      }
+ +    int which, length;
+      if (defaultdoc->hasPattern() &&
+ -            defaultdoc->CompareWord(path.sub(filename)))
+ +         defaultdoc->CompareWord(path.sub(filename), which, length) &&
+ +         filename+length == path.length())
+       path.chop(path.length() - filename);
+  }
+
+ I have confirmed that this patch doesn't break anything on my system.
+ Let me know how it goes on yours when you get the chance.

Thanks Gilles. I got a "man who knows what he's doing" to apply the patch
to our system. It didn't break anything on a test run indexing 6000 pages
on two AxKit enhanced development servers - index.xml was correctly
dropped as a remove_default_doc match and all the index.xml.ID=something
pages are there in the database. No news tomorrow afternoon will mean it
didn't break anything while reindexing the entire University overnight -
200k documents across 600 servers should constitute a fair test!

Thanks again,
        Malcolm.

 [EMAIL PROTECTED]     http://users.ox.ac.uk/~malcolm/


_______________________________________________
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