Re: Strange Search Results

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 56044
interpreted = N
texte = Justin Carroll wrote: > Why, when you type in "aslfkjsdlfj" or anything BESIDES a number, does it > return sku 1 and 3 but not 2? Thanks. > Because _any_ text (i.e. not a number) is equal to the number 0, and hence matches records 1 & 3. You will need to change your [search] context based on whether the [txtKeyword] field contains a number or not. You should probably be preprocessing the search term anyway to ensure that "search by date" is actually done with a date in the legal range (i.e. not 0). HTH John -- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4501 Forbes Boulevard Suite H Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5748 ------------------------------------------------------------- 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:

    
  1. Re: Strange Search Results ( Justin Carroll 2004)
  2. Re: Strange Search Results ( "Erol Guneri" 2004)
  3. Re: Strange Search Results ( Justin Carroll 2004)
  4. Re: Strange Search Results ( Glenn Busbin 2004)
  5. Re: Strange Search Results ( Justin Carroll 2004)
  6. Re: Strange Search Results ( Glenn Busbin 2004)
  7. Re: Strange Search Results ( John Peacock 2004)
  8. Re: Strange Search Results ( Justin Carroll 2004)
  9. Re: Strange Search Results ( Justin Carroll 2004)
  10. Re: Strange Search Results ( "WebDna @ Inkblot Media" 2004)
  11. Re: Strange Search Results ( Justin Carroll 2004)
  12. Re: Strange Search Results ( "WebDna @ Inkblot Media" 2004)
  13. Re: Strange Search Results ( John Peacock 2004)
  14. Re: Strange Search Results ( Justin Carroll 2004)
  15. Re: Strange Search Results ( "Gary Krockover" 2004)
  16. Re: Strange Search Results ( Justin Carroll 2004)
  17. Re: Strange Search Results ( Justin Carroll 2004)
  18. Re: Strange Search Results ( Kenneth Grome 2004)
  19. Re: Strange Search Results ( "Matthew C. Bohne" 2004)
  20. Re: Strange Search Results ( Justin Carroll 2004)
  21. Strange Search Results ( Justin Carroll 2004)
Justin Carroll wrote: > Why, when you type in "aslfkjsdlfj" or anything BESIDES a number, does it > return sku 1 and 3 but not 2? Thanks. > Because _any_ text (i.e. not a number) is equal to the number 0, and hence matches records 1 & 3. You will need to change your [search] context based on whether the [txtKeyword] field contains a number or not. You should probably be preprocessing the search term anyway to ensure that "search by date" is actually done with a date in the legal range (i.e. not 0). HTH John -- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4501 Forbes Boulevard Suite H Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5748 ------------------------------------------------------------- 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/ John Peacock

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:

Re:2nd WebCatalog2 Feature Request (1996) Error handling for accountNum (1997) [SHOWIF] PROBLEM (2000) Templates in Memory (2000) Summary layout (1997) Configuring E-mail (1997) WCS Newbie question (1997) Zip Code Search (2000) More than one db with the same namn (was: WC2f3) (1997) Authorize.net and AIM (2003) How to verify email address (1997) [WebDNA] WebDNA Email Auth Functioning? (2014) randomness (1997) inetinfo.exe (1999) Multiple prices (1997) Help name our technology! I found it (1997) any idea (2004) Adding headers to email (1997) A Trigger Question (2000) Multiple fields on 1 input (1997)