When I use the current search on my site it doesn't find lots of the products for some merchants as their brand or colour etc. are in the description, is there a way to change the search to search teh description as well as the title?
Thank you!
Thank you, it is now working, however, is there a way to make the search results more exact? When I search for pink dress http://www.offersboutique.co.uk/shopping/search.php?q=pink+dress I get dresses, tops, jeans etc. when I just want pink dresses.
Hi,
That's happening because the full text search method by default works by relevance, so whilst it should be returning products containing PINK and DRESS first, you can make it only return results containing all words by implementing the BOOLEAN MODE modification described here...
http://www.pricetapestry.com/node/2182#comment-13876
Cheers,
David.
Hi can anyone tell me where to find config.advanced.php so I can enable description searching? Thanks
Hi goldengirl,
I notice you've been using Price Tapestry for some time - config.advanced.php is new in the latest distribution (November 2009) so I think you're still running the original distribution.
Perhaps the easiest thing to do is if you could email me your existing search.php, and then i'll add the code to include description in search for you, and send you the database modification script to create the name+description full text index...
Cheers,
David.
Hi,
You can enable description search in config.advanced.php - change line 10 as follows:
$config_searchDescription = TRUE;
Then, browse to /setup.php on your site, and you'll see a link to build the name+description full text index.
Cheers,
David.