Re: easy numfound search?
This WebDNA talk-list message is from 2001
It keeps the original formatting.
numero = 37036
interpreted = N
texte = Celeste Paul wrote:> > hi, does anyone have any good ideas on how i could sort a list based on> a found items?> > i have a db that i do i search on a phrase to get the number of> occurances. i would like to sort this list with the most occuring near> the top. right now im writing a new db with a hard coded> number-of-items (changes with each replace/append) and then populating a> list. i feel its unneeded to have two dbs.. but couldnt think of> another way to approach the problem. i also need to keep the base raw> db with each individual record because it stores the date and time of> each entry> I'm not completely sure what you are asking but let me take a shot atan example and you tell me whether that is what you meant:You want to search a field for the word fish and return the recordwith the most instances of fish first, and so on down the line.If so, then you are in luck; WebCat does this automatically! When you do a search in WebCat without requesting a specific sortingsequence, WC uses an internal fitness algorythm which orders therecords from best to worst.HTHJohn--John PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4720 Boston WayLanham, MD 20706301-459-3366 x.5010fax 301-429-5747-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Celeste Paul wrote:> > hi, does anyone have any good ideas on how i could sort a list based on> a found items?> > i have a db that i do i search on a phrase to get the number of> occurances. i would like to sort this list with the most occuring near> the top. right now im writing a new db with a hard coded> number-of-items (changes with each replace/append) and then populating a> list. i feel its unneeded to have two dbs.. but couldnt think of> another way to approach the problem. i also need to keep the base raw> db with each individual record because it stores the date and time of> each entry> I'm not completely sure what you are asking but let me take a shot atan example and you tell me whether that is what you meant:You want to search a field for the word fish and return the recordwith the most instances of fish first, and so on down the line.If so, then you are in luck; WebCat does this automatically! When you do a search in WebCat without requesting a specific sortingsequence, WC uses an internal fitness algorythm which orders therecords from best to worst.HTHJohn--John PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4720 Boston WayLanham, MD 20706301-459-3366 x.5010fax 301-429-5747-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
John Peacock
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:
How can I Add several Items into the cart at once? (1997)
PCS Customer submissions ? (1997)
Feature req. (2002)
Protect (1997)
Re[3]: 2nd WebCatalog2 Feature Request (1996)
Listfiles (1998)
Duplicate Items in the Cart (1998)
Add a field to the error log? (1997)
Pre-flight public flag (1997)
Thanks Grant (1997)
[WebDNA] Fails to recognize comma-separated db (2010)
[OT] Xserve (2002)
Multiple Newcarts (1996)
Server crash (1997)
Surprise x and y post args (1998)
More on the email templates (1997)
WebCatalog Upgrade Pricing? (1997)
WebCat2b13MacPlugIn - [shownext method=post] ??? (1997)
[WebDNA] Adding Graphics to Directory (2009)
RAM variables (1997)