Good point. I would then suggest replacing the (score > 0) with (base_score > 0) to
cover the backlink_factor and date_factor additions performed on lines 1432 and 1443
of Display.cc.
Is there a consensus on this issue so that this could be committed to code (using
base_score comparison)?
[.kate]
-----Original Message-----
From: Geoff Hutchison [EMAIL PROTECTED]
Sent: Mon, 17 Sep 2001 20:56:11 -0500
To: [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: Re: [htdig-dev] text_factor:0 It doesn't appear to be working.
At 3:11 PM -0700 9/17/01, Katherine Porter wrote:
> if (score > 0) {
> matches.Add(thisMatch, url.get());
> }
>
>I appear to be getting desirable results. If this will cause any
>problems elsewhere, please let me know.
I don't think you need to worry about negative scores. IIRC, there's
another part of Display.cc that sets all negative scores to 0.
I'll agree with you that I don't see many reasons to keep documents
with a score of 0 in the result list, this change won't have quite
the effect you want. Keep in mind that the score also includes
factors like backlink_factor and date_factor that aren't word related
and can give a document a non-zero score even if the word score was 0.
Regards,
-Geoff
_______________________________________________
htdig-dev mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/htdig-dev
___________________________________________________________________________
Visit http://www.visto.com.
Find out how companies are linking mobile users to the
enterprise with Visto.
_______________________________________________
htdig-dev mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/htdig-dev