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:

WebCat2_Mac RETURNs in .db (1997) Newbie from and old bee (1997) Date search - yes or no (1997) [url] (1997) Database Fields (1997) raw=T is broken in [include] (1997) ListFiles Sorting (2000) WC2b15 File Corruption (1997) encripted storage (1998) Database Security Rev., (2002) Web Catalog Instability (2000) Does [Sendmail] create html? (2002) Displaying text and populating form fields (2005) [WebDNA] Showif Hideif If Then Case Sensitivity (2020) Re1000001: Setting up shop (1997) Another Search Question (2003) Emailer not working (1998) show all problem (1997) Contexts and Ampersands (1997) WebCatalog vs. Cold Fusion (1998)