mirror of https://github.com/kcal-app/kcal.git
Switch to simple analyzer (adds lowercase casting)
This commit is contained in:
parent
ecd2fa3c08
commit
2e7c76cbad
|
|
@ -31,7 +31,7 @@ class IngredientPickerController extends Controller
|
|||
->fields(['name', 'name._2gram', 'name._3gram', 'detail', 'brand', 'source'])
|
||||
->query($term)
|
||||
->type('bool_prefix')
|
||||
->analyzer('whitespace')
|
||||
->analyzer('simple')
|
||||
->fuzziness('AUTO'))
|
||||
|
||||
// Attempt to match on any tags in the term.
|
||||
|
|
|
|||
Loading…
Reference in New Issue