View Single Post
  #1  
Old December 1st, 2012, 12:51 PM
Michaelgs Michaelgs is offline
 
Join Date: Jun 2012
Posts: 65
Default bad search results

Store ID: 38485
Website URL: http://partythemesforbirthday.com
URL to page in question: all

when using a phrase or title like "my little pony" I get unacceptable results that include products who contain any word i.e. my, little, pony, and my little pony.

how exactly can i fix this so that I do not get pages of results but only the full phrase result.
I as the webmaster can of course surround the phrase my little pony with quotes and than I get the desired results, however the average visitor will not do that and sees the page with irrelevant results and leaves my site frustrated.

<!-- Search Fields -->
<ul>
?php if (@$_GET['word']){ ?><li><b>Word: </b>[store.get param="word"]</li><?php } ?>
<?php if (@$_GET['merchant']){ ?><li><b>Merchant: </b>[store.get param="merchant"]</li><?php } ?>
<?php if (@$_GET['tags']){ ?><li><b>Tags: </b>[store.get param="tags"]</li><?php } ?>
<?php if (@$_GET['price']){ ?><li><b>Price: </b>[store.get param="price"]</li><?php } ?>
</ul>
<!-- /Search Fields -->
looking at the first line of the search fields can I replace 'word' with 'phrase' ?
__________________
Michael G. Schurmann
Birthday Party Themes