Subject: Re: [htdig] Reasons for selecting a page.
From: Gilles Detillieux (email@example.com)
Date: Fri Aug 11 2000 - 07:35:12 PDT
According to Fergus Toolan:
> I'm using htdig as part of a recommender system
> to recommend web-pages on a certain web-site.
> We've implemented a package which uses Java,
> it calls htsearch to find related pages.
> We wondered if it is possible to extract the reasons
> that htdig returned its results.
> For example, can we get a response saying something
> "Htdig selected this URL because it contained the words
> <word list> which were also contained in the query."
> This isn't essential but we would be interested in something
> like this for research purposes.
I don't think there's any way right now to do this, other than by
customising the source code. There isn't a template variable that tells
you, on a document by document basis, which search words matched that
document. The best you could do right now is just show the whole query
string, either as $(WORDS) which is as entered in the input parameter
"words", or as $(LOGICAL_WORDS) which is the expanded query.
-- Gilles R. Detillieux E-mail: <firstname.lastname@example.org> Spinal Cord Research Centre WWW: http://www.scrc.umanitoba.ca/~grdetil Dept. Physiology, U. of Manitoba Phone: (204)789-3766 Winnipeg, MB R3E 3J7 (Canada) Fax: (204)789-3930
------------------------------------ To unsubscribe from the htdig mailing list, send a message to email@example.com You will receive a message to confirm this.
This archive was generated by hypermail 2b28 : Thu Aug 10 2000 - 21:34:59 PDT