auto-completion.sort
Background
This parameter sets the auto completion suggestions sort order. It can take 3 values:
-
0
: Suggestions will be sorted by weight, with the most relevant ones in first. -
1
: Suggestions will be sorted by length, with the shorter ones in first. -
2
: Suggestions will be sorted alphabetically in ascending order. -
3
: Suggestions will be sorted by a score calculated byalpha * weight + (1 - alpha) * length_score
.