Re: Search group and ww

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 52558
interpreted = N
texte = What's the actual code that shows this (the search code, hard-coded value for [searchwords], and a few database rows that match but shouldn't)? Donovan's code in an earlier email works fine. Try taking Donovan's code and database and running it on your machine to see if you get the same results. >For example, if I search for 'be', it finds 'best', 'alphabetical', 'belt' >and 'be'. Maybe I'm not think right, but I thought ww means it only finds a >whole word. So it should only find 'be'. > >Regards, >Tim >-- >Tim Robinson >IDFK Web Developments >tim@idfk.com.au >114a/40 Yeo Street >Neutral Bay 2089 >Australia >Phone +612 9908 2134 >Fax +612 9908 4837 > >> From: John Hill >> Reply-To: (WebDNA Talk) >> Date: Thu, 28 Aug 2003 07:12:35 -0700 >> To: (WebDNA Talk) >> Subject: Re: Search group and ww >> >> What's an example of the search string and the field data in page_desc? >> >>> well thats just messed up then... must be time to open the fridge. >>> >>> Your using the group 1 and 2 thing cause you know you can't search the same >>> field twice right? just checking. >>> >>> >>> >>> ----- Original Message ----- >>> From: "Tim Robinson" >>> To: "WebDNA Talk" >>> Sent: Thursday, August 28, 2003 4:05 PM >>> Subject: Re: Search group and ww >>> >>> >>>> Actually, even when I remove the group info, the 'ww' doesn't work.... >>>> >>>> [Search db= products.db[!] >>>> [/!]&waPAGE_DESCdatarq=[searchwords][!] >>>> [/!]&PAGE_DESCword=ww] >>>> >>>> Regards, >>>> Tim >>>> -- >>>> Tim Robinson >>>> IDFK Web Developments >>>> tim@idfk.com.au >>>> 114a/40 Yeo Street >>>> Neutral Bay 2089 >>>> Australia >>>> Phone +612 9908 2134 >>>> Fax +612 9908 4837 >>>> >>>>> From: "Andrew Simpson" >>>>> Reply-To: (WebDNA Talk) >>>>> Date: Thu, 28 Aug 2003 15:35:01 +1200 >>>>> To: (WebDNA Talk) >>>>> Subject: Re: Search group and ww >>>>> >>>>> the only thing i could think to change there is the WA to a WS... >>> because >>>>> the docs say that even if WA requires all words to be present in the >>> search, >>>>> they don't necessarily have to be present one after the other... where >>> as WS >>>>> (substring search) requires the word/words to appear in the DB exactly >>> as >>>>> typed in by the user... >>>>> >>>>> >>>>> the difference between finding : >>>>> >>>>> search = "I like beer" >>>>> >>>>> results >>>>> >>>>> WS: "I like beer" >>>>> vs >>>>> WA: "I really don't like beer very much at all" >>>>> >>>>> or at least, thats my understanding of it... although you would think >>> the >>>>> "WW" on the group would do the trick. >>>>> >>>>> >>>>> ----- Original Message ----- >>>>> From: "Tim Robinson" >>>>> To: "WebDNA Talk" >>>>> Sent: Thursday, August 28, 2003 3:28 PM >>>>> Subject: Search group and ww >>>>> >>>>> >>>>>> Hi there, >>>>>> >>>>>> I would like group2 to only find whole words, but it is presently >>> finding >>>>>> partial words.... all tips appreciated. >>>>>> >>>>>> [Search db=products.db[!] >>>>>> [/!]&GROUP1field=PAGE_DESC[!] >>>>>> [/!]&GROUP2field=PAGE_DESC[!] >>>>>> [/!]&wnGROUP1datarq=admin_section[!] >>>>>> [/!]&waGROUP2datarq=[searchwords][!] >>>>>> [/!]&GROUP2word=ww] >>>>>> >>>>>> >>>>>> Regards, >>>>>> Tim >>>>>> -- >>>>>> Tim Robinson >>>>>> IDFK Web Developments >>>>>> tim@idfk.com.au >>>>>> 114a/40 Yeo Street >>>>>> Neutral Bay 2089 >>>>>> Australia >>>>>> Phone +612 9908 2134 >>>>>> Fax +612 9908 4837 >>>>>> >>>>>> >>>>>> ------------------------------------------------------------- >>>>>> 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/ >>>>>> >>>>> >>>>> >>>>> >>>>> ------------------------------------------------------------- >>>>> 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/ >>>> >>>> >>>> ------------------------------------------------------------- >>>> 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/ >>>> >>> >>> >>> >>> ------------------------------------------------------------- >>> 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/ >> >> -- >> >> --------------------------------- >> John A. Hill >> Oak Hill Software >> Website Development/Consulting >> john@oakhillsoftware.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/ > > >------------------------------------------------------------- >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/ -- --------------------------------- John A. Hill Oak Hill Software Website Development/Consulting john@oakhillsoftware.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: Search group and ww (FYI) ( Tim Robinson 2003)
  2. Re: Search group and ww (mea culpa pt 2) ( Tim Robinson 2003)
  3. Re: Search group and ww ( Tim Robinson 2003)
  4. Re: Search group and ww ( John Hill 2003)
  5. Re: Search group and ww ( "Andrew Simpson" 2003)
  6. Re: Search group and ww ( Tim Robinson 2003)
  7. Re: Search group and ww ( Donovan 2003)
  8. Re: Search group and ww ( John Hill 2003)
  9. Re: Search group and ww ( Tim Robinson 2003)
  10. Re: Search group and ww ( "Andrew Simpson" 2003)
  11. Re: Search group and ww ( Tim Robinson 2003)
  12. Re: Search group and ww ( Tim Robinson 2003)
  13. Re: Search group and ww ( "Andrew Simpson" 2003)
  14. Search group and ww ( Tim Robinson 2003)
What's the actual code that shows this (the search code, hard-coded value for [searchwords], and a few database rows that match but shouldn't)? Donovan's code in an earlier email works fine. Try taking Donovan's code and database and running it on your machine to see if you get the same results. >For example, if I search for 'be', it finds 'best', 'alphabetical', 'belt' >and 'be'. Maybe I'm not think right, but I thought ww means it only finds a >whole word. So it should only find 'be'. > >Regards, >Tim >-- >Tim Robinson >IDFK Web Developments >tim@idfk.com.au >114a/40 Yeo Street >Neutral Bay 2089 >Australia >Phone +612 9908 2134 >Fax +612 9908 4837 > >> From: John Hill >> Reply-To: (WebDNA Talk) >> Date: Thu, 28 Aug 2003 07:12:35 -0700 >> To: (WebDNA Talk) >> Subject: Re: Search group and ww >> >> What's an example of the search string and the field data in page_desc? >> >>> well thats just messed up then... must be time to open the fridge. >>> >>> Your using the group 1 and 2 thing cause you know you can't search the same >>> field twice right? just checking. >>> >>> >>> >>> ----- Original Message ----- >>> From: "Tim Robinson" >>> To: "WebDNA Talk" >>> Sent: Thursday, August 28, 2003 4:05 PM >>> Subject: Re: Search group and ww >>> >>> >>>> Actually, even when I remove the group info, the 'ww' doesn't work.... >>>> >>>> [Search db= products.db[!] >>>> [/!]&waPAGE_DESCdatarq=[searchwords][!] >>>> [/!]&PAGE_DESCword=ww] >>>> >>>> Regards, >>>> Tim >>>> -- >>>> Tim Robinson >>>> IDFK Web Developments >>>> tim@idfk.com.au >>>> 114a/40 Yeo Street >>>> Neutral Bay 2089 >>>> Australia >>>> Phone +612 9908 2134 >>>> Fax +612 9908 4837 >>>> >>>>> From: "Andrew Simpson" >>>>> Reply-To: (WebDNA Talk) >>>>> Date: Thu, 28 Aug 2003 15:35:01 +1200 >>>>> To: (WebDNA Talk) >>>>> Subject: Re: Search group and ww >>>>> >>>>> the only thing i could think to change there is the WA to a WS... >>> because >>>>> the docs say that even if WA requires all words to be present in the >>> search, >>>>> they don't necessarily have to be present one after the other... where >>> as WS >>>>> (substring search) requires the word/words to appear in the DB exactly >>> as >>>>> typed in by the user... >>>>> >>>>> >>>>> the difference between finding : >>>>> >>>>> search = "I like beer" >>>>> >>>>> results >>>>> >>>>> WS: "I like beer" >>>>> vs >>>>> WA: "I really don't like beer very much at all" >>>>> >>>>> or at least, thats my understanding of it... although you would think >>> the >>>>> "WW" on the group would do the trick. >>>>> >>>>> >>>>> ----- Original Message ----- >>>>> From: "Tim Robinson" >>>>> To: "WebDNA Talk" >>>>> Sent: Thursday, August 28, 2003 3:28 PM >>>>> Subject: Search group and ww >>>>> >>>>> >>>>>> Hi there, >>>>>> >>>>>> I would like group2 to only find whole words, but it is presently >>> finding >>>>>> partial words.... all tips appreciated. >>>>>> >>>>>> [Search db=products.db[!] >>>>>> [/!]&GROUP1field=PAGE_DESC[!] >>>>>> [/!]&GROUP2field=PAGE_DESC[!] >>>>>> [/!]&wnGROUP1datarq=admin_section[!] >>>>>> [/!]&waGROUP2datarq=[searchwords][!] >>>>>> [/!]&GROUP2word=ww] >>>>>> >>>>>> >>>>>> Regards, >>>>>> Tim >>>>>> -- >>>>>> Tim Robinson >>>>>> IDFK Web Developments >>>>>> tim@idfk.com.au >>>>>> 114a/40 Yeo Street >>>>>> Neutral Bay 2089 >>>>>> Australia >>>>>> Phone +612 9908 2134 >>>>>> Fax +612 9908 4837 >>>>>> >>>>>> >>>>>> ------------------------------------------------------------- >>>>>> 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/ >>>>>> >>>>> >>>>> >>>>> >>>>> ------------------------------------------------------------- >>>>> 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/ >>>> >>>> >>>> ------------------------------------------------------------- >>>> 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/ >>>> >>> >>> >>> >>> ------------------------------------------------------------- >>> 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/ >> >> -- >> >> --------------------------------- >> John A. Hill >> Oak Hill Software >> Website Development/Consulting >> john@oakhillsoftware.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/ > > >------------------------------------------------------------- >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/ -- --------------------------------- John A. Hill Oak Hill Software Website Development/Consulting john@oakhillsoftware.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/ John Hill

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:

PCS Frames (1997) Still Stumped on ShowNext...HELP! (1997) 'RequiredField' Question (1998) date tag not interpreted (2000) Trouble with formula.db + more explanation (1997) webcat error log (1998) formulas.db ?? (1998) Show shoppingcart after remove last item (1997) Norton Internet Security filtering out WebDNA processsed (2004) Shipping costs again (1998) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) [listdatabases] feature request. (2003) [GROUPS] followup (1997) WebCat and image maps (1997) SiteGuard Admin Feature ? (1997) E-Mailer (WebCatb15acgiMac) (1997) WebCatalog for Postcards ? (1997) Calendar Program (2004) Can someone remove this guy with the 186k emails!? (Thanks for the email!) (1998) when is date system date or order date? (1997)