BUG Fixing fuzzy not being applied to standard keyword searches.

At the moment it only applies fuzzy to specific field searches, but not when you haven't specified any fields.
This commit is contained in:
Sean Harvey 2013-09-27 10:45:22 +12:00
parent 7dd8d888cf
commit 915219b6c4

View File

@ -338,7 +338,7 @@ abstract class SolrIndex extends SearchIndex {
$q[] = '+('.implode(' OR ', $searchq).')';
}
else {
$q[] = '+'.$part;
$q[] = '+'.$part.$fuzzy;
}
}
}