tune title autocomplete edge_ngram bounds
This commit is contained in:
parent
e92307cf16
commit
925ecb0e7c
|
|
@ -42,8 +42,8 @@ class BuildCommand extends Command
|
||||||
public const DEFAULT_MIN_SEARCH_LENGTH = 3;
|
public const DEFAULT_MIN_SEARCH_LENGTH = 3;
|
||||||
|
|
||||||
/** N-gram bounds for the title autocomplete subfield (not admin-configurable). */
|
/** N-gram bounds for the title autocomplete subfield (not admin-configurable). */
|
||||||
private const TITLE_MIN_GRAM = 2;
|
private const TITLE_MIN_GRAM = 3;
|
||||||
private const TITLE_MAX_GRAM = 15;
|
private const TITLE_MAX_GRAM = 20;
|
||||||
|
|
||||||
protected $signature = 'blomstra:search:index
|
protected $signature = 'blomstra:search:index
|
||||||
{action? : build | promote | rollback | discard | mapping | fill}
|
{action? : build | promote | rollback | discard | mapping | fill}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue