Re: 2nd try: possible to weight results of grouped fieldssearch?

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 20776
interpreted = N
texte = >When searching Title field and Description field, I'd like to have >greater weight given to the hits in the Title field. This would result in >products which have the search term in their name (the Title field) >rising to the top of the search results.Not quite, because we don't have a way of giving greater weight to certain fields. But you can get close by 'levelling the playing field', so to speak. Your problem may stem from the fact that more words match in the description than do in the title. You can force all fields to have the same exact weight (no greater importance given to extra word 'hits') by adding allHit=1 to your search parameters.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: 2nd try: possible to weight results of grouped fieldssearch? (PCS Technical Support 1998)
  2. Re: 2nd try: possible to weight results of grouped fieldssearch? (Dave MacLeay 1998)
>When searching Title field and Description field, I'd like to have >greater weight given to the hits in the Title field. This would result in >products which have the search term in their name (the Title field) >rising to the top of the search results.Not quite, because we don't have a way of giving greater weight to certain fields. But you can get close by 'levelling the playing field', so to speak. Your problem may stem from the fact that more words match in the description than do in the title. You can force all fields to have the same exact weight (no greater importance given to extra word 'hits') by adding allHit=1 to your search parameters.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:

PCS Frames (1997) Trigger: Only on Saturday (2001) Disappearing HTML/WebDNA (1998) [UPPERCASE] (1997) Crash Log Question (2006) FYI: virus alert (1996) Include a big block of text (1997) Logging purchases (1997) no global [username] or [password] displayed ... (1997) Almost a there but..bye bye NetCloak (1997) Frames and WebCat (1997) something simple? (1998) Error: Can't open order file. (2005) Flash Stores (2003) Date search - yes or no (1997) WebDNA Book? (2003) Finding max value for a field (1997) WebCatalog f2 Installation (1997) [WebDNA] [OT] Spam reduction? (2009) [WebDNA] Performance impact of stock functions (2011)