Page MenuHomePhabricator

Completion suggester: increase minimum prefix length from 0 to 1 for fuzzy queries
Closed, ResolvedPublic

Description

Setting 1 instead of 0 offers a huge improvement in avg query time (from 13ms to 3ms).
The drawback is that we won't be able to catch typos in the first character.
It seems safer to start with a prefix length of 1 and see later if we can improve perf and use a prefix length of 0.

Event Timeline

dcausse created this task.Feb 3 2016, 4:26 PM
dcausse raised the priority of this task from to Needs Triage.
dcausse updated the task description. (Show Details)
dcausse added a subscriber: dcausse.
Restricted Application added a project: Discovery. · View Herald TranscriptFeb 3 2016, 4:26 PM
Restricted Application added subscribers: StudiesWorld, Aklapper. · View Herald Transcript

Change 268132 had a related patch set uploaded (by DCausse):
Completion suggester : increase min prefix length from 0 to 1

https://gerrit.wikimedia.org/r/268132

dcausse renamed this task from Completion suggester: reduce minimum prefix length from 0 to 1 for fuzzy queries to Completion suggester: increase minimum prefix length from 0 to 1 for fuzzy queries.Feb 3 2016, 4:43 PM
Deskana triaged this task as Normal priority.Feb 3 2016, 5:04 PM
Deskana added a subscriber: Deskana.

Works for me! We can always look to adjust this later if it seems problematic.

Change 268132 merged by jenkins-bot:
Completion suggester : increase min prefix length from 0 to 1

https://gerrit.wikimedia.org/r/268132

Deskana closed this task as Resolved.Feb 3 2016, 6:19 PM