Re: numfound question
This WebDNA talk-list message is from 2005
It keeps the original formatting.
numero = 61755
interpreted = N
texte = What I did to see what would happen is add to my adminpages....on my main admin page i have this:
on my results page I added this within my founditems:[Searchdb=^/eb/blogs.db&eqBlogBydatarq=[BloggerID]&eqCommentToDATArq=NewBlog][numfound][/Search]This combo lists all my bloggers with their total blogposts....But i cannot sort on that [numfound] number because itisn't in any db anywhere.At least nothing I've tried worked....Am i understanding this correctly???--- "Nitai @ ComputerOil"
wrote:> 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.> > Nitai> > Lester 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 works> Content Management & eBusiness Systems> > ComputerOil� AG> Dammstrasse 7> 5400 Baden / Switzerland> Telefon +41 (0)844 44 55 66> > info@computeroil.com> http://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/> __________________________________ Do you Yahoo!? Yahoo! Small Business - Try our new resources site!http://smallbusiness.yahoo.com/resources/-------------------------------------------------------------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 I did to see what would happen is add to my adminpages....on my main admin page i have this:on my results page I added this within my founditems:[Searchdb=^/eb/blogs.db&eqBlogBydatarq=[BloggerID]&eqCommentToDATArq=NewBlog][numfound][/Search]This combo lists all my bloggers with their total blogposts....But i cannot sort on that [numfound] number because itisn't in any db anywhere.At least nothing I've tried worked....Am i understanding this correctly???--- "Nitai @ ComputerOil" wrote:> 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.> > Nitai> > Lester 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 works> Content Management & eBusiness Systems> > ComputerOil� AG> Dammstrasse 7> 5400 Baden / Switzerland> Telefon +41 (0)844 44 55 66> > info@computeroil.com> http://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/> __________________________________ Do you Yahoo!? Yahoo! Small Business - Try our new resources site!http://smallbusiness.yahoo.com/resources/-------------------------------------------------------------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/
Lester
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:
Email Format (1998)
Add to a field (1998)
Problems with [Search] param - Mac Plugin b15 (1997)
printing twice? and fix (1997)
Searching using numbers (1998)
possible bug in unix version? (2000)
WebCommerce: Folder organization ? (1997)
two unique banners on one page (1997)
Where is f2? (1997)
Snake Bites (1997)
Mail Server Needed. (1998)
Calculating multiple shipping... (1997)
Re:no template caching (1997)
Cancel Subscription (1996)
WCS Newbie question (1997)
Shopping cart now bad (1997)
Web Developer Product Awards (1997)
Great product and great job ! (1997)
Search returns all, not 20 (1997)
300% usage - Clint (2007)