Hi david
Few search problems.
In my feeds I have "ring" but i don't have "rings" and looking for "rings" brings the "No result" page
What can i do to make the script searches for "rings" or brings up the same results than "ring"?
Also is there a way to add somewhere some keywords that are not in the feeds but are words people search?
For example, I have a site selling lingerie but this word doesn't appear at all in the whole feed, then if i search "lingerie" it brings up the "no result" page which is kind of weird as the whole site is about lingerie.
I'd like to be able to display something, no matter what type of lingerie but anything would be better than nothing....
Thanks
Pat
Hi Pat,
There's a neat modification to support searching for plurals in the following thread:
http://www.pricetapestry.com/node/617
If you then search for "rings", the mod will add the word "ring" to the SQL. It does this by looking for any words ending in "s" in the query.
Your second question is more complex as this would require a lookup table of mapped queries. It should be reasonably straight forward to hard code this into search.php if you're happy with that as a solution rather than having to write new database management scripts. Would you be able to create mapped queries for the terms that you would like to provide results for, for example:
"lingerie" = "bra brief camie"
etc.
Would this do what you want?