Re: searches with dash, period etc. (back form politeness)
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 25940
interpreted = N
texte = I don't think wbrk is the problem in this example. My guess is that if you took out the nameword=ww parameter it would work exactly as it's supposed to. Without testing this myself, I see that the first item in the list is different from the other two because it doesn't begin with a space character. The words you are search for are: Joe Smith Joe Jones and Joe Roberts. The text Joe Jones doesn't appear in any field; only Joe Roberts does. Likewise for Joe Roberts. The word parameter only comes into effect when a match is made. I hope this helps.John.>I have a value list such as: [text]namelist=Joe Smith, Joe Jones, Joe>Roberts[/text]>>and a db with:>Name ID>Joe Smith 1>Joe Jones 2>Joe Roberts 3>Joe Brown 4>>My search is:>[search db=nametest.db&wonamedatarq=[namelist]&nameword=ww&namewbrk=,]>or>[search>db=nametest.db&wonamedatarq=[namelist]&nameword=ww&namewbrk=[url],[/url]]>>Which uses the wholeword modifier and specifies what the word delimiter is>(,) so the effect should be that the term Joe Smith is treated in the>search as a whole word, followed by Joe Jones & Joe Roberts, so that>all records are returned except for Joe Brown's.>>This now only returns the first instance - Joe Smith. URLing the break>character has no affect.--------------------------------- John A. Hill Smith Micro Software Internet Solutions DivisioneCommerce / Consulting / Hosting http://www.smithmicro.com(formerly Pacific Coast Software)-------------------------------------------------------------Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server.To end your Mail problems go to
.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
Associated Messages, from the most recent to the oldest:
I don't think wbrk is the problem in this example. My guess is that if you took out the nameword=ww parameter it would work exactly as it's supposed to. Without testing this myself, I see that the first item in the list is different from the other two because it doesn't begin with a space character. The words you are search for are: Joe Smith Joe Jones and Joe Roberts. The text Joe Jones doesn't appear in any field; only Joe Roberts does. Likewise for Joe Roberts. The word parameter only comes into effect when a match is made. I hope this helps.John.>I have a value list such as: [text]namelist=Joe Smith, Joe Jones, Joe>Roberts[/text]>>and a db with:>Name ID>Joe Smith 1>Joe Jones 2>Joe Roberts 3>Joe Brown 4>>My search is:>[search db=nametest.db&wonamedatarq=[namelist]&nameword=ww&namewbrk=,]>or>[search>db=nametest.db&wonamedatarq=[namelist]&nameword=ww&namewbrk=[url],[/url]]>>Which uses the wholeword modifier and specifies what the word delimiter is>(,) so the effect should be that the term Joe Smith is treated in the>search as a whole word, followed by Joe Jones & Joe Roberts, so that>all records are returned except for Joe Brown's.>>This now only returns the first instance - Joe Smith. URLing the break>character has no affect.--------------------------------- John A. Hill Smith Micro Software Internet Solutions DivisioneCommerce / Consulting / Hosting http://www.smithmicro.com(formerly Pacific Coast Software)-------------------------------------------------------------Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server.To end your Mail problems go to .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
John Hill
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:
getting images' width/height (1998)
Date or time comparisons have bugs ... (1998)
Frames and WebCat (1997)
WCS Newbie question (1997)
Menu to select product variations (1997)
test (2002)
URGENT - CPU usage OSXS (2001)
WebCatalog NT beta 18 problem (1997)
Execute Applescript (1997)
Random info is still wrong ... (2000)
WCf2 and nested tags (1997)
[append] problem (1997)
serial number dishing (1997)
service stop and restart (1997)
Problems deleting when a search field is blank... (1998)
TIP: Address info to Directory in Sitebuilder (2004)
WebCat2 several catalogs? (1997)
Carrying Forward (1998)
webcat- multiple selection in input field (1997)
select multiple (1997)