Hi,
I think this problem is very similar to
https://phabricator.wikimedia.org/T110571
Thanks for pointing this out.
In this case searching for Brexit will suggest Brexitite which is a
redirect to the same page.
Since we display only unique canonical pages the algorithm has to choose
one redirect and this decision is currently very arbitrary: it will
display the "first" redirect that shares the same prefix.
So here, just because Brexitite appears before Brexit in the list of
redirect Brexitite will be chosen...
This is suboptimal to say the least.
I think we can enhance this behavior by choosing the shortest redirect
that shares the same prefix.
This problem is slightly related to another broader problem of search
suggestions, it discriminates short titles. Short titles have to compete
with lot more pages and are unlikely to be ever suggested (except a
perfect match).
In this case I don't have great ideas, a random idea could be to do some
positive discrimination and include the title length in the ranking
formula. Unfortunately I hadn't had time to investigate further.
David.
Le 24/06/2016 08:55, Erik Bernhardson a écrit :
Redirects are included in search suggestions as long as they are
sufficiently different from the target page. There is likely some
other bug occurring here, will look into it.
On Jun 23, 2016 9:55 PM, "Pine W" <wiki.pine(a)gmail.com
<mailto:wiki.pine@gmail.com>> wrote:
Hi Discovery,
I accidentally discovered ( ;) ) that on ENWP, both mobile and
desktop, redirects aren't included in search suggestions. This a
bit important when ENWP has nothing on our main page about Brexit,
and when I try to search for Brexit the lack of a search result
implies to me that we have no such article. Actually, we do have
an article under a much longer name, and "Brexit" is a redirect.
So I'm wondering if it would be good to include redirects in
search results, perhaps appended with "(Redirects to <article
name>)". What do you think?
Thanks,
Pine
_______________________________________________
discovery mailing list
discovery(a)lists.wikimedia.org <mailto:discovery@lists.wikimedia.org>
https://lists.wikimedia.org/mailman/listinfo/discovery
_______________________________________________
discovery mailing list
discovery(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/discovery