Re: [htdig3-dev] Score System


Subject: Re: [htdig3-dev] Score System
From: Geoff Hutchison (ghutchis@wso.williams.edu)
Date: Thu Jun 29 2000 - 06:42:33 PDT


At 12:48 PM +0100 6/29/00, Carlos Sanchez wrote:
>I would like to know how HtDig get the score of a document, I guess
>that it count the number of times that the keyword is in the document,
>but does it store this
>number somewhere in the index?.

In 3.1.x and earlier:
Yes, the score is almost exactly the "weight" stored in the
db.wordlist file (the w: line).

The weight is essentially a sum of the *_factor appropriate to the
word multiplied by a factor for location (1000-1).

In 3.2 the issue is a bit different, but essentially the score is
calculated on-the-fly.

--
-Geoff Hutchison
Williams Students Online
http://wso.williams.edu/

------------------------------------ To unsubscribe from the htdig3-dev mailing list, send a message to htdig3-dev-unsubscribe@htdig.org You will receive a message to confirm this.



This archive was generated by hypermail 2b28 : Thu Jun 29 2000 - 03:58:33 PDT