How do you enable Wild Card in the Simple Search?

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
User avatar
mystore
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 21
Joined: Sun Nov 11, 2007 9:10 pm

How do you enable Wild Card in the Simple Search?

Post by mystore » Mon Dec 17, 2007 12:23 pm

The standard search function is very limited...it will not pull up any result unless the customer types in the item name EXACTLY.

I figured out that if you add "*" next to each search word, it'll provide a much better result.

I want to set it up so when a customer types in "sony tv" and hit search, it'll come up as "/Search.aspx?k=sony*tv*" instead of the standard "/Search.aspx?k=sony+tv"

Does anyone here know how to do that?

User avatar
Logan Rhodehamel
Developer
Developer
Posts: 4116
Joined: Wed Dec 10, 2003 5:26 pm

Post by Logan Rhodehamel » Wed Dec 19, 2007 9:30 am

The search is always wild card enabled, the problem here is the search is not mulitple keyword aware.

So it is matching *sony tv*, not *sony* and *tv*. The keyword search is something I think we will have to improve on. In fact, I am going to create an enhancement request to have this looked at.
Cheers,
Logan
Image.com

If I do not respond to an unsolicited private message, it's not because I'm ignoring you. It's because the answer to your question is valuable to others. Try the new topic button.

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Post by jmestep » Wed Dec 19, 2007 10:02 am

That would be great, Logan. We are continually tweaking our search in 5.5 and we just added a field to our products table for search keywords so that we can display more pertinent results. One thing I haven't been able to code for is something like a search on "ion". If If I code it one way, it pulls up motion, ion gun both when we just want ion gun. In the keywords, we've had to put a garbage keyword at the beginning (current garbage word is "boogers") so that we can get results by coding the search to look for ion with a space before it. It's possible something can be done with RegEx, but I haven't worked on that yet.
I've also coded a product drilldown page- I would like to have more filtering basing one dropdown based on the selection in the previous dropdown. I haven't looked at AC7 thoroughly so there might already be something similar there- I know you put in a lot of new filtering methods. Our drilldown is here, if you want to see what I mean. (I don't have all the data in yet)
http://www.anythingxtreme.com/pbdrilldown.aspx
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

Post Reply