Re: Relevancy Rating
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 21772
interpreted = N
texte = >I have written a sherlock plugin and want to utilize the relevance ranking>that>sherlock can identify. How can I create a search result that has a numeric>relevancy given with each founditem? Sherlock looks for a 100 for 100%>relevancy on down to 0 for least relevant.Unfortunately WebCatalog does not expose its relevancy information inside[founditems], but you can fake one by assuming that the topmost items arethe most relevant, and using a little [math] with the [index] and[numfound] to create a smooth gradient from 100% down to 0% (I guess 50% orso would make more sense).Sherlock is very nice, and very easy to implement -- congrats to Apple!Technical Support | ==== eCommerce and Beyond ====Pacific Coast Software | WebCatalog, WebMerchant,11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster,San Diego, CA 92128 | Typhoon619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/
Associated Messages, from the most recent to the oldest:
>I have written a sherlock plugin and want to utilize the relevance ranking>that>sherlock can identify. How can I create a search result that has a numeric>relevancy given with each founditem? Sherlock looks for a 100 for 100%>relevancy on down to 0 for least relevant.Unfortunately WebCatalog does not expose its relevancy information inside
[founditems], but you can fake one by assuming that the topmost items arethe most relevant, and using a little
[math] with the [index] and[numfound] to create a smooth gradient from 100% down to 0% (I guess 50% orso would make more sense).Sherlock is very nice, and very easy to implement -- congrats to Apple!Technical Support | ==== eCommerce and Beyond ====Pacific Coast Software | WebCatalog, WebMerchant,11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster,San Diego, CA 92128 | Typhoon619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/
PCS Technical Support
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
[taxrate] question (1997)
WebCat2.0 [format thousands .0f] no go (1997)
Include a big block of text (1997)
Quit revisited (1997)
[showif],[referrer],[include] in errormessages.db (2002)
Having trouble installing on Windows XP Pro... (2006)
Searching multiple Databases (1997)
DOS variable bug (was SandBox and ImageMagick) (2003)
Verifying both name and password (was: THANKS) (1997)
Permissions still causing problems... (2002)
really wierd browser truncating (1997)
Emailer (1997)
CommandSecurity? (1997)
group1field question (1999)
[WebDNA] How to Combine a search with Webdna and JS (2017)
really wierd browser truncating (1997)
Re:Emailer Set Up (1997)
credit card authorization question (1997)
Bulletin Board.... (2000)
autosensing lanague selection (1997)