Re: Sorting by highest number of matches unique to a field
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 52128
interpreted = N
texte = Kenneth, Thanks. I just tried a slimmed down search with no sort specified...[search db=db/messages.db&nemsg_iddatarq=[blank]&msg_idsumm=T&max=10][founditems]....[/founditems][/search]What you are saying, is that this would list the [msg_id] at the top that had the most matches? It didn't.this search seemed to randomly, pick out 10 results. I could not find a pattern to the sort at all. It just grabbed 10 of them out of seemingly anywhere in the db., of those the highest number was 10 matches. I know that one [msg_id] in particular has over 200 posts, and there are many that have more than 10.I thought that the default sort was "best match" not "most matches" In otherwords the results that "best match" the search criteria, not the results that have the most matches...?-- Confused.On Friday, August 8, 2003, at 11:27 AM, Kenneth Grome wrote:>> I was hoping to get a clearer understanding of the possibility of >> sorting a search by entries that have the most number of matches >> first.>>> WebDNA automatically sorts by placing the records with the most > matches at the top of the founditems list. If you use sort parameters > you will override this automatic ranking of the entire founditems > list, but ranking will still occur within the groups you are sorting > by -- unless you put "&allhit=1" into your search parameters which > will effectively turn off all automatic ranking.>> -- >> Sincerely,> Kenneth Grome> -------------------------------------------------------------> Outsource your WebDNA programming for $18 an hour or less!> ------------------------------------------------------------->> -------------------------------------------------------------> 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://webdna.smithmicro.com/>-------------------------------------------------------------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://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Kenneth, Thanks. I just tried a slimmed down search with no sort specified...[search db=db/messages.db&nemsg_iddatarq=[blank]&msg_idsumm=T&max=10][founditems]....[/founditems][/search]What you are saying, is that this would list the [msg_id] at the top that had the most matches? It didn't.this search seemed to randomly, pick out 10 results. I could not find a pattern to the sort at all. It just grabbed 10 of them out of seemingly anywhere in the db., of those the highest number was 10 matches. I know that one [msg_id] in particular has over 200 posts, and there are many that have more than 10.I thought that the default sort was "best match" not "most matches" In otherwords the results that "best match" the search criteria, not the results that have the most matches...?-- Confused.On Friday, August 8, 2003, at 11:27 AM, Kenneth Grome wrote:>> I was hoping to get a clearer understanding of the possibility of >> sorting a search by entries that have the most number of matches >> first.>>> WebDNA automatically sorts by placing the records with the most > matches at the top of the founditems list. If you use sort parameters > you will override this automatic ranking of the entire founditems > list, but ranking will still occur within the groups you are sorting > by -- unless you put "&allhit=1" into your search parameters which > will effectively turn off all automatic ranking.>> -- >> Sincerely,> Kenneth Grome> -------------------------------------------------------------> Outsource your WebDNA programming for $18 an hour or less!> ------------------------------------------------------------->> -------------------------------------------------------------> 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://webdna.smithmicro.com/>-------------------------------------------------------------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://webdna.smithmicro.com/
Robert Wade
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:
acrobat -> wc (1998)
Pirated WebCat? NOT... (2003)
[index] (1997)
ExclusiveLock (2000)
Windows 2.1b2 Append Bug? (1997)
Hidden or Forbidden? (1998)
Sorting (1998)
PIXO support (1997)
calculating tax rates, mail order solutions and version 2 (1997)
listfiles-looking for slick solution (1997)
[/application] error? (1997)
WebCat Error Log problem (2.0.1, acgi, Mac) (1997)
this works sometimes and sometimes not (1997)
Upload Plugin (1998)
[WebDNA] WARNING Do not upgrade to OS X Server 5.04 (2015)
Detecting the screen size (2003)
Problem with [Search] inside of [Loop]? (1997)
MacActivity and PCS (1997)
WebCat hosting providers? (1997)
Store Builder, technical infos (1998)