/**
  * takes the search string as originally input by a user and makes it "better", in the sense
  * that for example converts it to "term1 AND term2" instead of "term1 OR term2" which is the
  * default behaviour. In order to do so, the "+" operator must be added before each one of the
  * search terms as long as it is not already there.
  *
  * @param searchTerms The original search string
  * @return Returns an 'improved' version of the search terms
  */
 function _adaptSearchString($searchTerms)
 {
     // load this module only if needed...
     include_once PLOG_CLASS_PATH . "class/data/textfilter.class.php";
     $tf = new Textfilter();
     $resultTerms = $tf->filterCharacters($searchTerms, array('"', ';', '.'));
     $resultTerms = Db::qstr($resultTerms);
     $resultTerms = trim($resultTerms);
     return $resultTerms;
 }