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 committed by Sean Harvey
parent 0073428e88
commit 8e93425950

View File

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