title: Magento: How Search Box Results Are Generated
body: <p>I am a newbie in Magento and I have a question regarding the way the search box works. </p>
  
  <p>If I understand correctly, the searchbox uses the catalogsearch_query table which is populated with the search terms the customers have entered in the input box. As a result these make up suggested results when someone types in a word. </p>
  
  <p>The thing is, some of the customers may have entered something completely irrelevant to the store products (store that sells shirt dresses) e.g. black car with white stripes and it will show up as a result if the next customer types in the word 'black'. </p>
  
  <p>Is there a way I can avoid something like that by manually modifying the code? If yes, what files would I have to change to achieve the required result?</p>
  
  <p>Thank you for your time and your help!</p>