You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
570 B
29 lines
570 B
<?php
|
|
|
|
return [
|
|
|
|
'default' => 'fuzzy',
|
|
|
|
'fieldName' => 'relevance',
|
|
|
|
'drivers' => [
|
|
|
|
'fuzzy' => [
|
|
'class' => 'TomLingham\Searchy\SearchDrivers\FuzzySearchDriver',
|
|
],
|
|
|
|
'ufuzzy' => [
|
|
'class' => 'TomLingham\Searchy\SearchDrivers\FuzzySearchUnicodeDriver',
|
|
],
|
|
|
|
'simple' => [
|
|
'class' => 'TomLingham\Searchy\SearchDrivers\SimpleSearchDriver',
|
|
],
|
|
|
|
'levenshtein' => [
|
|
'class' => 'TomLingham\Searchy\SearchDrivers\LevenshteinSearchDriver',
|
|
],
|
|
|
|
],
|
|
|
|
];
|