#394·sonic

Make typo factor function configurable

Author: RemiBardonCreated Aug 15, 2026Updated Aug 15, 2026
Labelsfeaturefeat:searcharea:performance

Typo correction can have a big impact on QUERY performance (> ×5 response time in some tests) and results (correcting too many typos can yield weird results).

We should add a configuration key to customize the word length → typo factor mapping, so users can tweak or disable it as desired.