Page MenuHomePhabricator

Resolve redirects in search suggestions
Closed, DuplicatePublic

Description

In some cases, redirects are used to improve search suggestions by including common spelling errors, see https://en.wikipedia.org/wiki/Category:Redirects_from_misspellings for a list on enwiki. However, if these are searched for they appear in search suggestions in their un-redirected form, e.g. "Brack Obama" instead of "Barack Obama". I think it's more obvious to users that the listed suggestion is what they're actually searching for if it's what it should be, similar to how Google does.

An issue with this idea however, is how to handle redirects with hashes that are used to point to specific header/sections in a page. Should the suggestion be for the page, and potentially cause confusion, should it be unchanged and hopefully cause less confusion but have the possibility of being a spelling error, or should it change to the section title in the hope that it's descriptive enough to be what the end-user think they're looking for? I'm inclined towards the second, in the hope that common spelling errors for sections aren't too prevalent.

Event Timeline

onei raised the priority of this task from to Needs Triage.
onei updated the task description. (Show Details)
onei subscribed.

This does not, in fact, seem to be the case. At least not with enwiki and CirrusSearch, which is what you used as your example.

@Anomie http://i.imgur.com/9V2YNNa.png?1 Tested while logged in and out, with the same results. Do you see something different?

Oh, search suggestions, not search. My mistake.