Re: Closest non matching search

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 58430
interpreted = N
texte = This may not be practical, I guess depending on the size of your db, but as Nitai suggests, the wa search, but display those results as the "did you mean". Then do an eq search for the phrase that the person typed in right after that. The first search would be an eq search for the results from the wa search (I hope this makes sense). You might even add a max=1 for the first search so that you don't have a bunch of "did you mean" 's. The thing that would need to be worked out is if the phrase typed in is an exact match. You don't want a "did you mean" yet the wa search is more than likely going to find one. Some kind of hideif here if [searchphrase] equals [data in database]. Kind of thinking out loud, maybe this will help. GK At 06:25 AM 6/16/2004, you wrote: >Hi > >On Google or iTunes if I type "James Tyler" for example it will suggest that >I may of meant "James Taylor". It seems to return a nearest match sort of >thing. > >Anyone have any idea how you could do such a thing in WebDNA without having >a popular misspelling database etc? > >Almost a nearest [notfounditems] sort of thing. > >Thanks for any help. ------------------------------------------------------------- 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: Closest non matching search ( Gary Krockover 2004)
  2. Re: Closest non matching search ( "Nitai @ ComputerOil" 2004)
  3. Closest non matching search ( Steve Craig 2004)
This may not be practical, I guess depending on the size of your db, but as Nitai suggests, the wa search, but display those results as the "did you mean". Then do an eq search for the phrase that the person typed in right after that. The first search would be an eq search for the results from the wa search (I hope this makes sense). You might even add a max=1 for the first search so that you don't have a bunch of "did you mean" 's. The thing that would need to be worked out is if the phrase typed in is an exact match. You don't want a "did you mean" yet the wa search is more than likely going to find one. Some kind of hideif here if [searchphrase] equals [data in database]. Kind of thinking out loud, maybe this will help. GK At 06:25 AM 6/16/2004, you wrote: >Hi > >On Google or iTunes if I type "James Tyler" for example it will suggest that >I may of meant "James Taylor". It seems to return a nearest match sort of >thing. > >Anyone have any idea how you could do such a thing in WebDNA without having >a popular misspelling database etc? > >Almost a nearest [notfounditems] sort of thing. > >Thanks for any help. ------------------------------------------------------------- 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/ Gary Krockover

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:

.. more on sliding discounts... (1997) WebCat2 - [SendNews] (1997) WCS Newbie question (1997) can we get string variables? (1998) Country & Ship-to address & other fields ? (1997) problems with 2 tags (1997) OS9 Scriptable FTP (2003) Search wbrk word break param (1998) re: keep W* in front applescript? (try Cron) (1998) Need help with search title (1998) webdelivery.html and webna (1997) Dr.Watson Error (1999) Problem 2: Prefs file... (1997) CSS (2001) Calendar Snippet Available (1998) WebCat2 - Getting to the browser's username/password data (1997) [WebDNA] FileUpload Issue ... cont. (2012) [WebDNA] HTML/OS vs. WebDNA ? (2008) Re:Virtual hosting and webcatNT (1997) Database Structure? (1998)