Re: SMSI -- a [notfound] context?

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 41104
interpreted = N
texte = Scott Anderson wrote: > This would be fairly easy to implement. But it should probably be qualified > by a new [search] parameter....[Search db=......&Unmatched=T] then instead > of a new [NotFound] context, just use the existing [FoundItems] context to > display the 'UnMatched' records. This way, other search attributes and > aggregates could still be applied.I think that Scott is saying that if you included &Unmatched=T the [founditems] loop would show only the records that _did not match_ the search terms. You would have to do two searches:[Search db=......] [founditems] [!]these items matched the search terms[/!] [/founditems] [/search][Search db=......&Unmatched=T] [founditems] [!]these items DID NOT match the search terms[/!] [/founditems] [/search]It would be very difficult to program WebCat to find both matching/unmatching records and then return them in the proper order. It would require twice the RAM to store both returned lists and possibly sort them. It would be really slow on anything more than a few records...John-- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4720 Boston Way Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5747 ------------------------------------------------------------- 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://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: SMSI -- a [notfound] context? (Donovan 2002)
  2. Re: SMSI -- a [notfound] context? (Kenneth Grome 2002)
  3. Re: SMSI -- a [notfound] context? (Aaron Lynch 2002)
  4. Re: SMSI -- a [notfound] context? (Stuart Tremain 2002)
  5. Re: SMSI -- a [notfound] context? (Alex McCombie 2002)
  6. Re: SMSI -- a [notfound] context? (Scott Anderson 2002)
  7. Re: SMSI -- a [notfound] context? (John Peacock 2002)
  8. Re: SMSI -- a [notfound] context? (Gary Krockover 2002)
  9. Re: SMSI -- a [notfound] context? (Clayton Randall 2002)
  10. Re: SMSI -- a [notfound] context? (Larry Goodhew 2002)
  11. Re: SMSI -- a [notfound] context? (Scott Anderson 2002)
  12. Re: SMSI -- a [notfound] context? (Tim Robinson 2002)
  13. SMSI -- a [notfound] context? (Kenneth Grome 2002)
Scott Anderson wrote: > This would be fairly easy to implement. But it should probably be qualified > by a new [search] parameter....[Search db=......&Unmatched=T] then instead > of a new [NotFound] context, just use the existing [founditems] context to > display the 'UnMatched' records. This way, other search attributes and > aggregates could still be applied.I think that Scott is saying that if you included &Unmatched=T the [founditems] loop would show only the records that _did not match_ the search terms. You would have to do two searches:[Search db=......] [founditems] [!]these items matched the search terms[/!] [/founditems] [/search][Search db=......&Unmatched=T] [founditems] [!]these items DID NOT match the search terms[/!] [/founditems] [/search]It would be very difficult to program WebCat to find both matching/unmatching records and then return them in the proper order. It would require twice the RAM to store both returned lists and possibly sort them. It would be really slow on anything more than a few records...John-- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4720 Boston Way Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5747 ------------------------------------------------------------- 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://search.smithmicro.com/ John Peacock

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:

WebCat editing, SiteGuard WAS:SiteAssociative lookup style? (1997) [convertchars] limits (1998) RE: Languages (1997) PCS Frames (1997) SetHeader (1997) Negative Range Error (2003) MOOOOOO (2000) SSL with IIS 4.0 (1998) possible, WebCat2.0 and checkboxes-restated (1997) showcart problem, HELP! (1999) Version 2.1.3 question :-) (2003) Summing fields (1997) [LOOKUP] (1997) [OT] Currency feed (2005) Re2: Calculating multiple shipping... (1997) WC Database Format (1997) RE: [WebDNA] Happy New Year! (2009) port 16080 problem (2003) different ship dates and shopping carts -- how to? (1997) Just Testing (1997)