Re: unusual search problem

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 20709
interpreted = N
texte = Oh, I see what you're trying to do. WO sees both space and plus as a word separator. If you want a different list of word separators (just plus) use the word separator parameter to specify them.John. >>>The actual search string created by this code makes the plus signs into %20, and that screws up my searches. Here is the parameter created by this code when I check two of the checkboxes: >>> >>>&wofieldNamedatarq=US%20West%20GTE%20 >>> >>>... but what I *wanted* for this parameter is: >>> >>>US%20WEST+GTE+ > >>The work around is to wrap a [url] context around the plus character (or just specify it as its %xx equivalent) in [search] text. Then WebCat will convert it back to a plus before processing. (you will notice that the [url] context converts + characters, even though they're legal in a URL, for this reason). > >I tried specifying it as %2B as suggested (also) by PCS Tech Support, but it doesn't work, webcat still sees the + sign as a space in terms of word separations in the search parameters, so the end result is that: > >&wofieldNamedatarq=US%20West%2BGTE > >looks like this on the web page itself: > >US West+GTE > >But in the search context it still acts like it did before. >In other words, the problem still remains ... :( > >Any other ideas for making this work properly? > >I already tried this: > >group1Field=brand >eqgroup1data=US%20WEST >group2Field=brand >eqgroup2data=GTE > >... not only using eq but also ws and wo, and nothing works properly, so there may be a problem using the webcat field grouping features too. I think I should have been able to do it that way but I still haven't found a way ... :( > >Sincerely, >Ken Grome >808-737-6499 >WebDNA Solutions >mailto:ken@webdna.net >http://www.webdna.net John A. Hill, V.P. Marketing Pacific Coast Software eCommerce / Web Developer Tools http://www.smithmicro.com Associated Messages, from the most recent to the oldest:

    
  1. Re: unusual search problem (John Hill 1998)
  2. Re: unusual search problem (Martin Gertz Bech 1998)
  3. Re: unusual search problem (Kenneth Grome 1998)
  4. Re: unusual search problem (Kenneth Grome 1998)
  5. Re: unusual search problem (John Hill 1998)
  6. Re: unusual search problem (PCS Technical Support 1998)
  7. unusual search problem (Kenneth Grome 1998)
Oh, I see what you're trying to do. WO sees both space and plus as a word separator. If you want a different list of word separators (just plus) use the word separator parameter to specify them.John. >>>The actual search string created by this code makes the plus signs into %20, and that screws up my searches. Here is the parameter created by this code when I check two of the checkboxes: >>> >>>&wofieldNamedatarq=US%20West%20GTE%20 >>> >>>... but what I *wanted* for this parameter is: >>> >>>US%20WEST+GTE+ > >>The work around is to wrap a [url] context around the plus character (or just specify it as its %xx equivalent) in [search] text. Then WebCat will convert it back to a plus before processing. (you will notice that the [url] context converts + characters, even though they're legal in a URL, for this reason). > >I tried specifying it as %2B as suggested (also) by PCS Tech Support, but it doesn't work, webcat still sees the + sign as a space in terms of word separations in the search parameters, so the end result is that: > >&wofieldNamedatarq=US%20West%2BGTE > >looks like this on the web page itself: > >US West+GTE > >But in the search context it still acts like it did before. >In other words, the problem still remains ... :( > >Any other ideas for making this work properly? > >I already tried this: > >group1Field=brand >eqgroup1data=US%20WEST >group2Field=brand >eqgroup2data=GTE > >... not only using eq but also ws and wo, and nothing works properly, so there may be a problem using the webcat field grouping features too. I think I should have been able to do it that way but I still haven't found a way ... :( > >Sincerely, >Ken Grome >808-737-6499 >WebDNA Solutions >mailto:ken@webdna.net >http://www.webdna.net John A. Hill, V.P. Marketing Pacific Coast Software eCommerce / Web Developer Tools http://www.smithmicro.com 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:

Conference? Heres my sniplete contribution! (1998) WebCatalog and WebMerchant reviewed by InfoWorld (1997) WebCat 2.1.3 (and docs) (1998) process SSI (1998) Calculating Shipping (1997) Next (1997) Possible Bug in 2.0b15.acgi (1997) 2nd WebCatalog2 Feature Request (1996) Banners (1997) is there a global includes directory? (1998) Plaintext Email Attachment (2001) Question from a Neebie (2000) Emailer (1998) Group search doesn't work. (1997) Formula Question (1998) Why this code works from some places and doesn't from others? (2000) Converting Aliases to Symbolic Links (2002) [format 40s]text[/format] doesn't work (1997) WebCatalog for guestbook ? (1997) Multiple catalog databases and showcart (1997)