Solved

Search for Keywords within website

Posted on 2004-10-12
2
304 Views
Last Modified: 2006-11-17
Hello,

I'm trying to make the search for our site more accurate at finding keywords.  And I was wondering if its possible to search for keywords in the following way:

Say I have a product called:  Minipack Ecomatic Fully Automatic L-Sealer
and someone types: "minipack eco sealer"

As of right now, the search does not work when someone types this in.

Is there a way to search substrings of a particular word?  For instance, is is possible to easily search through all the words on our website for "eco"?

Currently, our search looks like:

(name = '{search_all}' or comment1 like '%{search_all}%' or comment2 like '%{search_all}%' or comment3 like '%{search_all}%' or
sku = '%{search_all}%' or user1 like '%{search_all}%' or

sku like '%{search_all}%' or user1 like '%{search_all}%' or sku like '%{search_all}%' or  user16 like '%{search_all}%') order by name



All of our products have a "name", "comment1", "comment2", "comment3", "sku", "user1", and "user16" fields.  Any ideas?

Thanks.
0
Comment
Question by:dadgumit
2 Comments
 
LVL 33

Accepted Solution

by:
snoyes_jw earned 20 total points
ID: 12287566
0
 

Author Comment

by:dadgumit
ID: 12291607
ok..thanks
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
join tables 4 57
How to update the value of duplicated records (except latest one) 2 28
SubQuery link 4 45
MySQL InnodDB Import from mysqldump takes forever. 2 55
I have been using r1soft Continuous Data Protection (http://www.r1soft.com/linux-cdp/) for many years now with the mySQL Addon and wanted to share a trick I have used several times. For those of us that don't have the luxury of using all transact…
Introduction Since I wrote the original article about Handling Date and Time in PHP and MySQL (http://www.experts-exchange.com/articles/201/Handling-Date-and-Time-in-PHP-and-MySQL.html) several years ago, it seemed like now was a good time to updat…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question