Page MenuHomePhabricator

CompletionSuggester prefers perfect redirect match over near-perfect target match
Open, MediumPublic

Description

Steps to reproduce:

Expected behavior (? anyway, pre-CompletionSuggester behavior): Budapest–Esztergom-vasútvonal shows up as the search result (note the first dash is an en dash, while the search term has a plain one)
Actual behavior: Budapest-Esztergom vasútvonal shows up as the search result (with plain dash; it's a redirect)

Event Timeline

Tgr raised the priority of this task from to Needs Triage.
Tgr updated the task description. (Show Details)
Tgr added a project: CirrusSearch.
Tgr added a subscriber: Tgr.
Restricted Application added subscribers: StudiesWorld, Aklapper. · View Herald Transcript
Deskana set Security to None.
Deskana added a subscriber: Deskana.

Issue still exists.

@dcausse Can you take a look at this one when you get a chance? Thanks!

Deskana triaged this task as Medium priority.Nov 17 2016, 11:18 PM
Deskana moved this task from needs triage to later on... on the Discovery-Search board.

This is likely a discrepancy in the analysis chain, the completion suggester seems to prefer the exact match to the redirect instead of close match to the title.
I'll take a look.