Guest Koilagoon Posted July 5, 2006 Share Posted July 5, 2006 I would like to see a mod to improve search results. I would rather that a search for two words (i.e. fish food) searched for listings with both words instead of either word. On our site: http://www.rockymountainpond.com, if someone searches for "koi food" they get tons of listings that have the word koi. We would like to see only listings with both words. <--- Quote Link to comment Share on other sites More sharing options...
Guest vp-ftv Posted August 2, 2006 Share Posted August 2, 2006 i do not think this should require a mod request, i think it is a fundemental flaw in cubecart. imagine if google searched like cube cart does... this should fall under support for the core package... especially when people buy licenses - there should be no need for a mod request... it should be remidied by the author... http://www.cubecart.org/forums/index.php?s...=improve+search the question was posted on the joke of a 3rd party mod forum... over a month later no one has replied... ansuk > why redirect someone to a dead forum??? Quote Link to comment Share on other sites More sharing options...
roban Posted August 2, 2006 Share Posted August 2, 2006 Try this: The Search is meant to support boolean operators, but it has a bug which is causing this to fail. Which means that searching for "text1 AND text2" will return nearly every product (on my site anyway!), because "AND" is being used as one of the search terms. The fix is... Edit includes/content/viewCat.inc.php, around line 102. Change: if(($ucSearchTerm!=="AND") || ($ucSearchTerm!=="OR")){ To: if(($ucSearchTerm!=="AND") && ($ucSearchTerm!=="OR")){ Quote Link to comment Share on other sites More sharing options...
Guest wellis Posted August 2, 2006 Share Posted August 2, 2006 Try this: The Search is meant to support boolean operators, but it has a bug which is causing this to fail. Which means that searching for "text1 AND text2" will return nearly every product (on my site anyway!), because "AND" is being used as one of the search terms. The fix is... Edit includes/content/viewCat.inc.php, around line 102. Change: if(($ucSearchTerm!=="AND") || ($ucSearchTerm!=="OR")){ To: if(($ucSearchTerm!=="AND") && ($ucSearchTerm!=="OR")){ My page already has the recommended change in 3.10 and the search is still one of the worst I have ever seen. It is almost embarrassing how inaccurate the results of the search function are. Quote Link to comment Share on other sites More sharing options...
oldman79 Posted August 6, 2006 Share Posted August 6, 2006 Try this: The Search is meant to support boolean operators, but it has a bug which is causing this to fail. Which means that searching for "text1 AND text2" will return nearly every product (on my site anyway!), because "AND" is being used as one of the search terms. The fix is... Edit includes/content/viewCat.inc.php, around line 102. Change: if(($ucSearchTerm!=="AND") || ($ucSearchTerm!=="OR")){ To: if(($ucSearchTerm!=="AND") && ($ucSearchTerm!=="OR")){ My page already has the recommended change in 3.10 and the search is still one of the worst I have ever seen. It is almost embarrassing how inaccurate the results of the search function are. I have the same problem like you, and I am looking for someone help from here and at cubecart.org too. Quote Link to comment Share on other sites More sharing options...
Guest PCARS Posted August 9, 2006 Share Posted August 9, 2006 Any fix for this basic search problem? I need it too. Thanks. Quote Link to comment Share on other sites More sharing options...
Guest BuymyJewelry Posted August 9, 2006 Share Posted August 9, 2006 go here... http://www.cubecart.com/site/forums/index....2&hl=search Quote Link to comment Share on other sites More sharing options...
Guest PCARS Posted August 9, 2006 Share Posted August 9, 2006 ^^^ Andy's post of Blair Nichols' Mod works for me. Thanks. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.