Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Search for Keywords within website

Posted on 2004-10-12
2
Medium Priority
?
309 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 80 total points
ID: 12287566
0
 

Author Comment

by:dadgumit
ID: 12291607
ok..thanks
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

When table data gets too large to manage or queries take too long to execute the solution is often to buy bigger hardware or assign more CPUs and memory resources to the machine to solve the problem. However, the best, cheapest and most effective so…
This article shows the steps required to install WordPress on Azure. Web Apps, Mobile Apps, API Apps, or Functions, in Azure all these run in an App Service plan. WordPress is no exception and requires an App Service Plan and Database to install
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

916 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