Geoff and I have been discussing a strange bit of behaviour in htsearch,
when you run the new version on an older DB.  htsearch was dropping
results from the search results pages, and when sorting on something
other than score, it would sometime die altogether.

The missing results, as far as I can tell, are because the new DBs
don't map URLs to lower case, so the new htsearch can't find the
DocumentRef for URLs with upper case letters, when searching the
old DBs.

The missing DocumentRefs caused problems with title and date sorts,
which are addressed by this patch:

--- ./htsearch/Display.cc.sortbug       Wed Jan 27 18:49:23 1999
+++ ./htsearch/Display.cc       Thu Jan 28 17:40:35 1999
@@ -877,6 +877,7 @@
                
        thisMatch = new ResultMatch();
        thisMatch->setURL(url);
+       thisMatch->setRef(NULL);
 
        //
        // Get the actual document record into the current ResultMatch

-- 
Gilles R. Detillieux              E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/~grdetil
Dept. Physiology, U. of Manitoba  Phone:  (204)789-3766
Winnipeg, MB  R3E 3J7  (Canada)   Fax:    (204)789-3930
------------------------------------
To unsubscribe from the htdig3-dev mailing list, send a message to
[EMAIL PROTECTED] containing the single word "unsubscribe" in
the SUBJECT of the message.

Reply via email to