Re: numfound question
This WebDNA talk-list message is from 2005
It keeps the original formatting.
numero = 61754
interpreted = N
texte = What do you mean? You can not sort the found items or what?You can always sort your results with &fieldsort=1. If you sort numbers you need to add &fieldtype=num.NitaiLester wrote:>After looking at what I was doing in my Admin area on>this site and adding a snippet or two I've got things>to behave pretty darn close to what I want, I'm>showing each blogger with their number of posts ...>BUT>to clarify there is no way to sort on [numfound] in>vers. 4.5 correct???>>If so, and I assume that's the case...... >(based on talklist archives dated the >year 2000 or so with nothing else since)>>My best bet is still to add another db field and store>a count within that db on the number of posts etc and>then I can sort with that.....>>>--- Lester
wrote:> >>>I saw this sorta answered in talklist archives but>>the>>posts were from 2000. Thinking there might be a>>better>>way perhaps before I start...>>>>First off, I'm using 4.5 on IIS.>>>>I have a small blog type site.>>One db has all the bloggers>>One db has all the blogs>>>>I want to show how many blog entries each of the>>bloggers have posted, and then sort them with the>>one>>having the most posts first etc... >>>>example:>>blogger8 (7 posts)>>blogger4 (5 posts)>>blogger3 (4 posts)>>etc etc>>>>The only way to do this seems to be to create a temp>>database, (or a maybe daily one since it will be>>accessed many times on the front page.) and then do>>a>>search and sort etc on that.>>>>summ=T or numfound or other combos of code snippets>>with search and/or an embedded search within>>weren't>>producing what I want.>>>>Is my assumption correct or has someone come up with>>an easy way to do this?>>>>Or maybe 6 makes this type of solution easier???>>(sigh)>>>>>>Thanks>>>>>>>>>>>>__________________________________________________>>Do You Yahoo!?>>Tired of spam? Yahoo! Mail has the best spam>>protection around >>http://mail.yahoo.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/>>>> >>>>__________________________________________________>Do You Yahoo!?>Tired of spam? Yahoo! Mail has the best spam protection around >http://mail.yahoo.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/> >-- Redakto - Content Management that simply worksContent Management & eBusiness SystemsComputerOil® AGDammstrasse 75400 Baden / SwitzerlandTelefon +41 (0)844 44 55 66info@computeroil.comhttp://computeroil.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:
What do you mean? You can not sort the found items or what?You can always sort your results with &fieldsort=1. If you sort numbers you need to add &fieldtype=num.NitaiLester wrote:>After looking at what I was doing in my Admin area on>this site and adding a snippet or two I've got things>to behave pretty darn close to what I want, I'm>showing each blogger with their number of posts ...>BUT>to clarify there is no way to sort on [numfound] in>vers. 4.5 correct???>>If so, and I assume that's the case...... >(based on talklist archives dated the >year 2000 or so with nothing else since)>>My best bet is still to add another db field and store>a count within that db on the number of posts etc and>then I can sort with that.....>>>--- Lester wrote:> >>>I saw this sorta answered in talklist archives but>>the>>posts were from 2000. Thinking there might be a>>better>>way perhaps before I start...>>>>First off, I'm using 4.5 on IIS.>>>>I have a small blog type site.>>One db has all the bloggers>>One db has all the blogs>>>>I want to show how many blog entries each of the>>bloggers have posted, and then sort them with the>>one>>having the most posts first etc... >>>>example:>>blogger8 (7 posts)>>blogger4 (5 posts)>>blogger3 (4 posts)>>etc etc>>>>The only way to do this seems to be to create a temp>>database, (or a maybe daily one since it will be>>accessed many times on the front page.) and then do>>a>>search and sort etc on that.>>>>summ=T or numfound or other combos of code snippets>>with search and/or an embedded search within>>weren't>>producing what I want.>>>>Is my assumption correct or has someone come up with>>an easy way to do this?>>>>Or maybe 6 makes this type of solution easier???>>(sigh)>>>>>>Thanks>>>>>>>>>>>>__________________________________________________>>Do You Yahoo!?>>Tired of spam? Yahoo! Mail has the best spam>>protection around >>http://mail.yahoo.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/>>>> >>>>__________________________________________________>Do You Yahoo!?>Tired of spam? Yahoo! Mail has the best spam protection around >http://mail.yahoo.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/> >-- Redakto - Content Management that simply worksContent Management & eBusiness SystemsComputerOil® AGDammstrasse 75400 Baden / SwitzerlandTelefon +41 (0)844 44 55 66info@computeroil.comhttp://computeroil.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/
"Nitai @ ComputerOil"
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] Clean URLS job - will pay (2010)
Security Question (1997)
Verbose error reporting (1998)
Plugin or CGI or both (1997)
WebCat2b13MacPlugIn - More limits on [include] (1997)
STRANGE (2001)
Almost a there but..bye bye NetCloak (1997)
frames & carts (1997)
RE: Answer: WebDelivery downloads alias, not original ? (1997)
Fufillment e-mail? (1998)
ReturnRaw Returns (2000)
Hard Questions ? (1997)
problems with 2 tags (1997)
Great product and great job ! (1997)
Cookies and webcat (1997)
[OT] Form POSTing with LONG variable (2007)
WebCatalog can't find database (1997)
Forms Search Questions (1997)
What is WebDNA (1997)
Extended [ConvertChars] (1997)