Re: Search group and ww (mea culpa pt 2)

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 52560
interpreted = N
texte = Actually, the GREP highlight only works off a [boldwords] to highlight the search string items. So it's the fault of [boldwords] (and I'm sticking to that). A quick tweak of GREP should do the trick. 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: Fri, 29 Aug 2003 11:50:48 +1200 > To: (WebDNA Talk) > Subject: Re: Search group and ww > > yeah, that was my understanding... it shouldn't return "belt" if searching > for "be" as a whole word search... donovans example looked to work... not > sure what the FBRK=ww stuff was about. > > > ----- Original Message ----- > From: "Tim Robinson" > To: "WebDNA Talk" > Sent: Friday, August 29, 2003 11:42 AM > Subject: Re: Search group and ww > > >> 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/ >> > > > > ------------------------------------------------------------- > 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/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Search group and ww (mea culpa pt 2) ( Tim Robinson 2003)
Actually, the GREP highlight only works off a [boldwords] to highlight the search string items. So it's the fault of [boldwords] (and I'm sticking to that). A quick tweak of GREP should do the trick. 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: Fri, 29 Aug 2003 11:50:48 +1200 > To: (WebDNA Talk) > Subject: Re: Search group and ww > > yeah, that was my understanding... it shouldn't return "belt" if searching > for "be" as a whole word search... donovans example looked to work... not > sure what the FBRK=ww stuff was about. > > > ----- Original Message ----- > From: "Tim Robinson" > To: "WebDNA Talk" > Sent: Friday, August 29, 2003 11:42 AM > Subject: Re: Search group and ww > > >> 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/ >> > > > > ------------------------------------------------------------- > 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/ Tim Robinson

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:

Text data with spaces in them... (1997) RE: WebDNA-Talk searchable? (1997) Summing fields (1997) Count regular expressions in a file (2007) File commands and Wild Cards ?? (1998) ShowCart (2001) Extended [ConvertChars] (1997) WebCat2 several catalogs? (1997) Calendar (1997) WebCatalog for guestbook ? (1997) Can this be done? (1997) authorizenet and netscape (2002) WebDNA Promo Sound Bite (2003) Showing unopened cart (1997) [format xs] freeze (1997) Alternating colors (1997) [url] link (1998) Firesite cache vs webcat cache (1997) Verbose error reporting (1998) Number searching/formats (1998)