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

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 20765
interpreted = N
texte = At 2:26 PM 10/30/98, Dale Stokdyk wrote: >So the result of the first search take precedence over the results of the >second search? That's what I'm looking for if it works! > >But you're right, I will also need to make sure the second search doesn't >also return items already found in the first search. Well, it doesn't take precedence in any technical sense, it just happens first. Then the wn parameter in the second search makes sure that you don't get any duplicate results. Of course, your options for negation searches are limited to ne (opposite of eq) and wn (opposite of wo); there is no way to do the opposite of a wa search (not sure how that would work anyways...).If you need to get really fancy and have more than two or three searches, you can store the SKU of each record you find in a temporary database. Then you can do a [hideif] within subsequent searches' [founditems] to make sure you're not listing items that have already been found. I've used a variation of this method to search several different databases and return an interlaced list of results, and it seems to work pretty well.-Daveo--------------- Dave MacLeay --+ o----------- Digital Frontier --+ o--------------- 802.253.8612 --+ o--- dave@digitalfrontier.com --+ Associated Messages, from the most recent to the oldest:

    
At 2:26 PM 10/30/98, Dale Stokdyk wrote: >So the result of the first search take precedence over the results of the >second search? That's what I'm looking for if it works! > >But you're right, I will also need to make sure the second search doesn't >also return items already found in the first search. Well, it doesn't take precedence in any technical sense, it just happens first. Then the wn parameter in the second search makes sure that you don't get any duplicate results. Of course, your options for negation searches are limited to ne (opposite of eq) and wn (opposite of wo); there is no way to do the opposite of a wa search (not sure how that would work anyways...).If you need to get really fancy and have more than two or three searches, you can store the SKU of each record you find in a temporary database. Then you can do a [hideif] within subsequent searches' [founditems] to make sure you're not listing items that have already been found. I've used a variation of this method to search several different databases and return an interlaced list of results, and it seems to work pretty well.-Daveo--------------- Dave MacLeay --+ o----------- Digital Frontier --+ o--------------- 802.253.8612 --+ o--- dave@digitalfrontier.com --+ Dave MacLeay

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:

[WebDNA] OT, environment variables os x (2012) WebCat2 - Getting to the browser's username/password data (1997) E-mail Attachments (1997) WebCat and image maps (1997) UPPERCASE (1997) Detecting NULL value in returned SQL (2000) WebCat 5 Intranet Question (2003) Changing price for a SLU based on options (size, etc.) (1997) MOOOOOO (2000) External Images (1998) Redirect to anchor (2001) RE: what characters are replaced for tab and CR? (1998) Requiring that certain fields be completed (1997) Thanks for Encrypt.tpl - A Question (1999) Integrate login with phpBB or vBulletin (2006) [WriteFile] problems (1997) [OrderFile] being testy (2000) webCatalog and Stocks (1998) looking for developers with solutions (2000) # of real domains on 1 web server (1997)