Subject: Re: [htdig3-dev] some bugs in htsearch 3.2b3
From: abel deuring (firstname.lastname@example.org)
Date: Thu Aug 17 2000 - 08:48:44 PDT
Gilles Detillieux wrote:
> According to Geoff Hutchison:
> > At 12:02 PM +0200 8/17/00, abel deuring wrote:
> > >A comment to my patch: I don't have very much experience with the
> > >"scoring system" of ht://dig (or ht://dig in general), but I don't
> > >think, that it is a good idea to give relative ranking information for a
> > >result set with minScore = 11000.090909 and maxScore = 11000.636364.
> > >(real example :)
> > >
> > >Therefore, with the attached patch, Display::generateStars does not
> > >return any stars, if minScore and maxScore are too close. The chosen
> > >threshold MINSCOREDIFF probably needs to be adjusted.
> > This is a good point. Certainly this could be an attribute.
> Yikes! I can see the flood of "what happened to the stars?" complaints
> right now! If this change goes in, it should definitely be optional,
> and off by default.
You're probably right: omitting the stars entirely is not such a good
idea. On the other hand, with the example abvoe, giving the match with
score=11000.09 one star and the match with score=11000.63 five stars is
somewhat "exaggerating". Therefore, a kind of "mixing" the absolute and
relative scores might be better. A suggestion:
(score - min) * score /((max - min) * max)
To unsubscribe from the htdig3-dev mailing list, send a message to
You will receive a message to confirm this.
This archive was generated by hypermail 2b28 : Wed Aug 16 2000 - 22:42:53 PDT