Switch to simple analyzer (adds lowercase casting)

This commit is contained in:
Christopher C. Wells 2021-03-05 14:48:24 -08:00
parent ecd2fa3c08
commit 2e7c76cbad
1 changed files with 1 additions and 1 deletions

View File

@ -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.