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:

Fwd: FW: Purchase Command error (1997) Public beta 2 for WebCatalog 4.0 is now available. (2000) Magic [text] shows and then no show (2000) Locking up with WebCatalog... (1997) Emailer (1997) Plugin or CGI or both (1997) Some ThankYou page problems (1997) Donovans Theorem (2003) Misc Stuff That Might Help (1997) suffix mapping for NT? (1997) really wierd browser truncating (1997) Design Help Needed (1998) I'm tired of all this! (2000) Cleaner URLs (2003) For those of you not on the WebCatalog Beta... (1997) [QuantityPrice] Not working in WebCatNT 2.0.1??? (1997) WebCat2b15MacPlugin - [protect] (1997) createfolder not behaving as expected (1999) show related items (2003) Newbie problem blah blah blah (1997)