Page 1 of 1

How do you enable Wild Card in the Simple Search?

Posted: Mon Dec 17, 2007 12:23 pm
by mystore
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?

Posted: Wed Dec 19, 2007 9:30 am
by Logan Rhodehamel
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.

Posted: Wed Dec 19, 2007 10:02 am
by jmestep
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