According to Jim Cole:
> Budd, Sinclair's bits of Tue, 11 Jun 2002 translated to:
> >I am using Dig 3.2.0b4-20020505 .
> >I do not seem to be able to order the results by the use of
> >search_results_order  configuration attribute.
> >such as   search_results_order:   www.cts *
> >Is there anything I can  do to rectify this.
> 
> It appears that a bit of the code associated with that
> functionality broke at some point. I am attaching a patch that
> seems to fix the problem. The patch is against the
> htdig-3.2.0b4-20020609 snapshot. It is just my best guess at a
> reasonable fix, so use at your own risk and all that ;)
> 
> The patch addresses two problems that I found. The first was that
> in Display::buildMatchList(), the call to matches.Add() was
> always passing an empty string for the URL. The second was that
> the value returned from MatchArea::Match() was always opposite of
> what it should have been.

Your best guess seems right to me.  Thanks for tracking this down.
I've committed it to CVS.  The error in MatchArea::Match() also seemed
to be in ScoreAdjustItem::Match() in htsearch/HtURLSeedScore.cc, so I
fixed it too.  I think all of these problems arose from the port of
Hans-Peter's patch for 3.1.4 over to 3.2.0b2.

-- 
Gilles R. Detillieux              E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/
Dept. Physiology, U. of Manitoba  Winnipeg, MB  R3E 3J7  (Canada)

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas - 
http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink

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

Reply via email to