Re: total number of matches
This WebDNA talk-list message is from 1999
It keeps the original formatting.
numero = 23873
interpreted = N
texte = At 19:25 Uhr -0600 19.02.99, webcat wrote:>What I would like to do is to have a count of how many links are in each>category. I wasn't able to find information on how to do this. I have>looked in the searching section (where the comparisions docs, etc are>located)>>Do I have to actually do additional searches for each category found to>get the [NumFound] value?Yes. You don't need [founditems] if you just want to know the number ofrecords, but you have to search for each name separately, basically likethis[search db=my.db&eqCATEGORYdatarq=Cat_A] [Cat_A]: [numfound]
[/search][search db=my.db&eqCATEGORYdatarq=Cat_B] [Cat_B]: [numfound]
[/search]Peter++++++++++++++++++++++++++++++++++++++++++++++++Peter Ostry - Vienna/Austria - www.ostry.comFon ++43-1-877 74 54 Fax ++43-1-877 74 54-21++++++++++++++++++++++++++++++++++++++++++++++++
Associated Messages, from the most recent to the oldest:
At 19:25 Uhr -0600 19.02.99, webcat wrote:>What I would like to do is to have a count of how many links are in each>category. I wasn't able to find information on how to do this. I have>looked in the searching section (where the comparisions docs, etc are>located)>>Do I have to actually do additional searches for each category found to>get the [NumFound] value?Yes. You don't need
[founditems] if you just want to know the number ofrecords, but you have to search for each name separately, basically likethis[search db=my.db&eqCATEGORYdatarq=Cat_A] [Cat_A]: [numfound]
[/search][search db=my.db&eqCATEGORYdatarq=Cat_B] [Cat_B]: [numfound]
[/search]Peter++++++++++++++++++++++++++++++++++++++++++++++++Peter Ostry - Vienna/Austria - www.ostry.comFon ++43-1-877 74 54 Fax ++43-1-877 74 54-21++++++++++++++++++++++++++++++++++++++++++++++++
Peter Ostry
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:
OFF-TOPIC: Lending investors ... (2002)
Real Audio files (1997)
[WebDNA] can webdna set the email header (w/[sendmail]) that controls where bounced email goes? (2012)
Re:Finding max value for a field (1997)
[cart] not being interpreted inside [founditems] (1997)
Variable Sizes, Widths and Colors (2000)
different show next (1997)
Processing stops (2006)
[WebDNA] difference in formatting [time] (2011)
[sendmail] line breaks? (2000)
problem: search crashes webstar (1997)
carriage returns in data (1997)
A little help on e-mail (HELP!!! :-) ) (1998)
Online reference (1997)
[WebDNA] unix timestamp in WebDNA (2009)
RE: Web*SSL and WebCatalog (1997)
Database Security Rev., (2002)
WebDNA 5 - Function test weirdness or ? (2003)
Multiple Replaces (1997)
Unique SKUs (2000)