Hi Al,,I have a search tag using the =wo: 'word-or' comparison.[search =db=3Dproducts.db&woRECORD_NAMEdata=3D[searchforthis]&woTEXT_1data=3D=[searchforthis]&woCATEGORYdata=3D[searchforthis]]
=If I search for the word Oven, it correctly finds the word in =the RECORD_NAME field, but it also supplies the word 'proven' from =the TEXT_1 field.My customer doesn't want =this.So I tried various uses of the ww: ='whole-word' comparison =and I can't get any results that work.ww in the TEXT_1 field =only didn't work.[search =db=3Dproducts.db&woRECORD_NAMEdata=3D[searchforthis]&wwTEXT_1data=3D=[searchforthis]&woCATEGORYdata=3D[searchforthis]]
=ww in all the fields didn't work.[search =db=3Dproducts.db&wwRECORD_NAMEdata=3D[searchforthis]&wwTEXT_1data=3D=[searchforthis]&wwCATEGORYdata=3D[searchforthis]]try it like this: = (this is what the docs really are saying to =do)[search =db=3Dproducts.db&woRECORD_NAMEdata=3D[searchforthis]&woTEXT_1data=3D=[searchforthis]&TEXT_1word=3Dww&woCATEGORYdata=3D[searchforthis]]<=/div>---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing listI would probably wrap the "[searchforthis]" in =[url]...[/url] too, if I were you, but that is another =topic.-Govinda.To unsubscribe, E-mail to: archives: http://mail.webdna.us/l=ist/talk@webdna.usBug Reporting: support@webdna.us
|
Hi Al,,I have a search tag using the =wo: 'word-or' comparison.[search =db=3Dproducts.db&woRECORD_NAMEdata=3D[searchforthis]&woTEXT_1data=3D=[searchforthis]&woCATEGORYdata=3D[searchforthis]]
=If I search for the word Oven, it correctly finds the word in =the RECORD_NAME field, but it also supplies the word 'proven' from =the TEXT_1 field.My customer doesn't want =this.So I tried various uses of the ww: ='whole-word' comparison =and I can't get any results that work.ww in the TEXT_1 field =only didn't work.[search =db=3Dproducts.db&woRECORD_NAMEdata=3D[searchforthis]&wwTEXT_1data=3D=[searchforthis]&woCATEGORYdata=3D[searchforthis]]
=ww in all the fields didn't work.[search =db=3Dproducts.db&wwRECORD_NAMEdata=3D[searchforthis]&wwTEXT_1data=3D=[searchforthis]&wwCATEGORYdata=3D[searchforthis]]try it like this: = (this is what the docs really are saying to =do)[search =db=3Dproducts.db&woRECORD_NAMEdata=3D[searchforthis]&woTEXT_1data=3D=[searchforthis]&TEXT_1word=3Dww&woCATEGORYdata=3D[searchforthis]]<=/div>---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing listI would probably wrap the "[searchforthis]" in =[url]...[/url] too, if I were you, but that is another =topic.-Govinda.To unsubscribe, E-mail to: archives: http://mail.webdna.us/l=ist/talk@webdna.usBug Reporting: support@webdna.us
DOWNLOAD WEBDNA NOW!
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...