The patch  which was enclosed   produced the desired results ..  So good!

-----Original Message-----
From: Jim Cole [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 12, 2002 12:50 PM
To: Budd, Sinclair
Cc: [EMAIL PROTECTED]
Subject: Re: [htdig-dev] 3.2.0B4 and search_results_order


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.

Jim

_______________________________________________________________

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
_______________________________________________
htdig-dev mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/htdig-dev

Reply via email to