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 are the 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% or so 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 | Typhoon 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Relevancy Rating (PCS Technical Support 1998)
  2. Re: Relevancy Rating (Dale LaFountain 1998)
  3. Re: Relevancy Rating (PCS Technical Support 1998)
  4. Relevancy Rating (Michael Scott Davis 1998)
>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 are the 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% or so 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 | Typhoon 619/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:

payflowpro problem #2 (2003) OT: CSS and Positioning (2001) Protect and Serve (1999) select multiple 2 more cents (1997) Large databases in WebCat (1997) [WebDNA] maybe silly suggestion? [founditems] (2015) Check for OS (2003) [OT] authenticate with email server (2004) b12 cannot limit records returned and more. (1997) Strange search... (2000) IE problems persist (2004) Re:Listfiles (1998) service stop and restart (1997) Where is f2? (1997) WebDNA 5.x & iTools 7 & Apache 2 (2003) How About Credit Card Transactions (1998) Re:Signal Raised (1997) can WC render sites out? (1997) It just Does't add up!!! (1997) Wanted: More Math Functions (or, Can You Solve This?) (1997)