Results 1 to 10 of 13

Hybrid View

  1. #1
    Join Date
    Sep 2007
    Location
    Dublin, Ireland
    Posts
    1,288
    Plugin Contributions
    8

    Default Re: Loosen Search Query

    Thinking about this further, SOUNDEX could possibly be a winner. Especially as MySQL has a SOUNDS LIKE expression. Run a SELECT for description SOUNDS LIKE search_clue OR search_clue SOUNDS LIKE description
    Andrew

    Andrew Moore
    Omnicia Agile Development
    www.omnicia.com

  2. #2
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Loosen Search Query

    Quote Originally Posted by hem View Post
    Thinking about this further, SOUNDEX could possibly be a winner. Especially as MySQL has a SOUNDS LIKE expression. Run a SELECT for description SOUNDS LIKE search_clue OR search_clue SOUNDS LIKE description
    There could be some big challenges with multi-lingual sites when using that approach. Something to keep in mind as you research further.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Sep 2007
    Location
    Dublin, Ireland
    Posts
    1,288
    Plugin Contributions
    8

    Default Re: Loosen Search Query

    Quote Originally Posted by DrByte View Post
    There could be some big challenges with multi-lingual sites when using that approach. Something to keep in mind as you research further.
    That's true- SOUNDEX only works on English. Plus it won't handle multi-byte either.
    Andrew

    Andrew Moore
    Omnicia Agile Development
    www.omnicia.com

 

 

Similar Threads

  1. v151 Search - including or ignoring "and" as first keyword in search query
    By nikerymis in forum General Questions
    Replies: 0
    Last Post: 27 Jan 2014, 08:44 PM
  2. Replies: 1
    Last Post: 25 Jan 2011, 02:05 PM
  3. Customize admin customer search query: search alt emails, too?
    By Matt008 in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 15 Apr 2010, 01:10 AM
  4. Maintaining the user's search query in the advanced search box?
    By arniesbarmyarmy in forum General Questions
    Replies: 0
    Last Post: 26 Feb 2010, 01:27 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg