From 925ecb0e7c6fa27f9766b988bae34c01698ce9ee Mon Sep 17 00:00:00 2001 From: mueh Date: Wed, 22 Apr 2026 12:33:13 +0200 Subject: [PATCH] tune title autocomplete edge_ngram bounds --- src/Commands/BuildCommand.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Commands/BuildCommand.php b/src/Commands/BuildCommand.php index 9024e1e..edc7bb0 100644 --- a/src/Commands/BuildCommand.php +++ b/src/Commands/BuildCommand.php @@ -42,8 +42,8 @@ class BuildCommand extends Command public const DEFAULT_MIN_SEARCH_LENGTH = 3; /** N-gram bounds for the title autocomplete subfield (not admin-configurable). */ - private const TITLE_MIN_GRAM = 2; - private const TITLE_MAX_GRAM = 15; + private const TITLE_MIN_GRAM = 3; + private const TITLE_MAX_GRAM = 20; protected $signature = 'blomstra:search:index {action? : build | promote | rollback | discard | mapping | fill}