Re: [WebDNA] group searching not working as expected.
This WebDNA talk-list message is from 2010
It keeps the original formatting.
numero = 106060
interpreted = N
texte = Hi KenThanks for that!It does work... even without the "&allreqd=T&allblnk=T". (see *note below.)I need to check to be sure that none of my 'words' that I might search for in the field (corresponding to the [feeled1_Fruit] field in my example) might have a word-delimiting char in their values.. (like a space char). If not, then I think what you suggested will be OK. I wanted to do it the other way so that regardless of what characters might be in the value, it would not break. I guess if I find any word-break chars in real values.. then I'll get creative with "wbrk" & "fbrk".With regard to the grouped-field technique, I assume that the moral of the story is that grouping fields only works when there are no other field comparisons going on, other than the grouped field(s).*Side note:Interesting that when I add 'allreqd=T' to my original search, like so:[search db = my .db &group1field = feeled1_Fruit &group2field = feeled1_Fruit &eqgroup1data =1apple&eqgroup2data=3cherry&wsfeeled3_HowUseddatarq=[URL]baked dessert[/URL]&allreqd=T&max=500]...it does not seem to have any effect at all.Thanks again!------------GovindaOn Dec 28, 2010, at 10:24 PM, Kenneth Grome wrote:> Have you tried this:> &eqfeeled3_HowUseddatarq=[url]baked dessert[/url]> &wofeeled1_Fruitdatarq=[url]1apple 3cherry 4mango[/url]> &allreqd=T&allblnk=T&max=500> Sincerely,> Kenneth Grome
Associated Messages, from the most recent to the oldest:
Hi KenThanks for that!It does work... even without the "&allreqd=T&allblnk=T". (see *note below.)I need to check to be sure that none of my 'words' that I might search for in the field (corresponding to the [feeled1_Fruit] field in my example) might have a word-delimiting char in their values.. (like a space char). If not, then I think what you suggested will be OK. I wanted to do it the other way so that regardless of what characters might be in the value, it would not break. I guess if I find any word-break chars in real values.. then I'll get creative with "wbrk" & "fbrk".With regard to the grouped-field technique, I assume that the moral of the story is that grouping fields only works when there are no other field comparisons going on, other than the grouped field(s).*Side note:Interesting that when I add 'allreqd=T' to my original search, like so:[search db = my .db &group1field = feeled1_Fruit &group2field = feeled1_Fruit &eqgroup1data =1apple&eqgroup2data=3cherry&wsfeeled3_HowUseddatarq=
[url]baked dessert[/URL]&allreqd=T&max=500]...it does not seem to have any effect at all.Thanks again!------------GovindaOn Dec 28, 2010, at 10:24 PM, Kenneth Grome wrote:> Have you tried this:> &eqfeeled3_HowUseddatarq=
[url]baked dessert[/url]> &wofeeled1_Fruitdatarq=
[url]1apple 3cherry 4mango[/url]> &allreqd=T&allblnk=T&max=500> Sincerely,> Kenneth Grome
Govinda
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:
shared_POP and archiving your own mailing list (2003)
Protecting Realms (1998)
Snake Bites (1997)
sandbox is hogging 99% cpu cycles (2004)
popups, netscape vs explorer (1997)
[ShowNext] feature in 2.0 (1997)
Newbie from and old bee (1997)
[SearchString] problem with [search] context (1997)
RAM variables (1997)
[WebDNA] why is the webdna.us site slow? (sometimes?) (2011)
I want a 404 (2005)
PCS Customer submissions ? (1997)
Next X hits (1996)
WCS Newbie question (1997)
WebCat 4 / 4.5 License for sale! (2003)
ShowNext (1997)
REPOST: How do _you_ back up your db? (2000)
Multiple catalog databases and showcart (1997)
Opinion Poll Please (2002)
Webcatalog/Butler (1998)