Alpha (auto-completion)

Description

This parameter adjusts the balance between length and relevance for auto-completion suggestion.

The value should be between 0 and 1.

A lower value will give priority to shorter suggestions, whereas a higher value will give priority to more relevant suggestions regardless of their length.

This options is relevant only if suggestions are sorted by score (sort=0)

Default value

alpha: '0.5'

Examples

To give priority to shorter auto-completion suggestions:

alpha: '0.12'