Re: Search the same field twice?
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 60554
interpreted = N
texte = This is what grouping fields is all about. You can have only one field in a group if you want. Make two groups, and each one will have only the one field you're looking for.....group1field=blurb&group2field=blurb&woGROUP1data=[keywords]&wnGROUP2data=[blockwords]...Online ref: http://webdna.smithmicro.com/ref/pages.html?context=SearchGroups.htmlTerry>I'm using the following search but it is not working as expected:>>[search >db=article.db&woBLURBdata=[keywords]&wnBLURBdata=[blockwords]&max=[stories]]>>I want to include all articles that match one or more of a list of >"keywords" but then I want to exclude those articles that have any >"blockwords.">>The above is not working because it seems that the blockwords >portion is not being applied. Is it possible to search the same >field twice? If not, how can I get the same effect in the search, >i.e. match these but not those?>>I'm trying a hideif as a workaround, but it doesn't match up the max >value since some matches are excluded.>>Any insight appreciated.>>Thanks,>Bill-------------------------------------------------------------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:
This is what grouping fields is all about. You can have only one field in a group if you want. Make two groups, and each one will have only the one field you're looking for.....group1field=blurb&group2field=blurb&woGROUP1data=[keywords]&wnGROUP2data=[blockwords]...Online ref: http://webdna.smithmicro.com/ref/pages.html?context=SearchGroups.htmlTerry>I'm using the following search but it is not working as expected:>>[search >db=article.db&woBLURBdata=[keywords]&wnBLURBdata=[blockwords]&max=[stories]]>>I want to include all articles that match one or more of a list of >"keywords" but then I want to exclude those articles that have any >"blockwords.">>The above is not working because it seems that the blockwords >portion is not being applied. Is it possible to search the same >field twice? If not, how can I get the same effect in the search, >i.e. match these but not those?>>I'm trying a hideif as a workaround, but it doesn't match up the max >value since some matches are excluded.>>Any insight appreciated.>>Thanks,>Bill-------------------------------------------------------------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/
Terry Wilson
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:
Problem with Shared POP script (2003)
WebCat2b13MacPlugIn - [showif][search][/showif] (1997)
Works! (1997)
Plugin or CGI or both (1997)
Another question (1997)
Here's how to kill a Butler Database. (1997)
New Command prefs ... (1997)
WebCatalog2 Feature Feedback (1996)
Possible Bug in 2.0b15.acgi (1997)
Document Contains No Data! (1997)
Running _every_ page through WebCat ? (1997)
Fields font size (2003)
[WebDNA] [Orderfile] problem (2009)
possible, WebCat2.0 and checkboxes-restated (1997)
WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997)
[WebDNA] Happy New Year! (2009)
Unexpected error (1997)
One Hour Email (2002)
customizing the color of user's pages (1997)
WC1.6 to WC2 date formatting (1997)