Searching (second post)

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 23131
interpreted = N
texte = I would like to perform a search on a database and have results sorted and displayed according to the following criteria.Database is tab delimited text file with between 500 and 600 products. I have two groups of fields I am searching through. The first group contains fields like Product Name, Manufacturer and Category of Products. The second group contains descriptions. I want all the results from the first group displayed first. Then the set of results from the second group minus any redundant results displayed. If the search produces more than some number of results, say 25, then only the first 25 results come up and then there is a link to get the next 25.I believe it makes sense to do a search like this because a match in Product name or manufacturer is probably what a user is looking for, but it makes sense to also look in description fields for less obvious matchs.Is is possible to create some sort of temporary Database, that is smart enough to destroy itself after its used up and that will not create problems if two or more users perform searches at or near the same time?Or can this just be done with some complex search? Associated Messages, from the most recent to the oldest:

    
  1. Re: Searching (second post) (PCS Technical Support 1999)
  2. Re: Searching (second post) (The Mooseman 1999)
  3. Searching (second post) (Josh Tiger (by way of josh@pop-art.com) 1999)
I would like to perform a search on a database and have results sorted and displayed according to the following criteria.Database is tab delimited text file with between 500 and 600 products. I have two groups of fields I am searching through. The first group contains fields like Product Name, Manufacturer and Category of Products. The second group contains descriptions. I want all the results from the first group displayed first. Then the set of results from the second group minus any redundant results displayed. If the search produces more than some number of results, say 25, then only the first 25 results come up and then there is a link to get the next 25.I believe it makes sense to do a search like this because a match in Product name or manufacturer is probably what a user is looking for, but it makes sense to also look in description fields for less obvious matchs.Is is possible to create some sort of temporary Database, that is smart enough to destroy itself after its used up and that will not create problems if two or more users perform searches at or near the same time?Or can this just be done with some complex search? Josh Tiger (by way of josh@pop-art.com)

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:

Forms Search Questions (1997) Re:1 cent answer? (1998) OSX Continued (2000) 2nd WebCatalog2 Feature Request (1996) [WebDNA] TCPConnect w/ user:pass (2009) [OT] MacOs IE5 topmargin and leftmargin bug (2000) WebCatalog dying in WebTen Revisited (1998) carriage returns in data (1997) Getting Emailer to send mail (1997) WebCat2b13MacPlugIn - [shownext method=post] ??? (1997) GuestBook example (1997) [item] appears after 'remove last item' ... (1997) How to implement 'email to a friend' feature? (2002) Version f1 status (1997) Don't know if this is a sily question... (2003) WebDNAdev.net Widget (2003) Questions (1998) WebDNA creates DUPLICATE SHOPPING CART NUMBERS (2004) Credit Card Checking?? (1998) WebCatalog Install Problem (2005)