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. 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/ Associated Messages, from the most recent to the oldest:

    
  1. Re: numfound question: SORTnumfound=ain't gonna happen ( Terry Wilson 2005)
  2. Re: numfound question ( Gary Krockover 2005)
  3. Re: numfound question ( Lester 2005)
  4. Re: numfound question ( "Nitai @ ComputerOil" 2005)
  5. Re: numfound question ( Lester 2005)
  6. Re: numfound question ( "Nitai @ ComputerOil" 2005)
  7. Re: numfound question ( Terry Wilson 2005)
  8. Re: numfound question ( Lester 2005)
  9. Re: numfound question ( Terry Wilson 2005)
  10. Re: numfound question ( Terry Wilson 2005)
  11. Re: numfound question ( "Nitai @ ComputerOil" 2005)
  12. numfound question ( Lester 2005)
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/ "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:

RE: type 2 errors with ssl server (1997) Problems adding stuff to the shopping cart. (1997) bounces (2008) [MATH] and Dates (1998) Creating 404 Not Found pages (1999) New Docs (2003) A Global Variable (1997) Displaying text and populating form fields ... (2005) [Sum] function? (1997) FM PRO Compatibility Issue - Single Database w/o Conversions (1997) convertWords... NEW (2001) Summary search -- speed (1997) WebCat2 Append problem (B14Macacgi) (1997) Another question about credit cards (1997) OS X problem: when using [ShowCart] or [orderfile]... (2000) Download capabilities (1997) Dynamically Generated Pages & WC? (2000) [WebDNA] XML error? (2015) Press Release hit the NewsWire!!! (1997) [OrderFile] being testy (2000)