mirror of
https://github.com/silverstripe/silverstripe-fulltextsearch
synced 2024-10-22 14:05:29 +02:00
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:
parent
0073428e88
commit
8e93425950
@ -338,7 +338,7 @@ abstract class SolrIndex extends SearchIndex {
|
||||
$q[] = '+('.implode(' OR ', $searchq).')';
|
||||
}
|
||||
else {
|
||||
$q[] = '+'.$part;
|
||||
$q[] = '+'.$part.$fuzzy;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user