Page MenuHomePhabricator

Autocompletion prefers redirect over title matches
Closed, ResolvedPublic

Description

Several users report that the search bar autocompletion *only* suggests redirects on it.wiki, replacing more relevant title matches: type "Kitzb", you get "Kitzbuehel" which redirects to "Kitzbühel" (reproducible for me).

https://it.wikipedia.org/w/index.php?title=Wikipedia:Bar/Discussioni/Lanciamoci_nel_futuro_motore_di_ricerca_interno&diff=65202279&oldid=65197358


Version: master
Severity: normal

Details

Reference
bz63627

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 3:20 AM
bzimport added a project: CirrusSearch.
bzimport set Reference to bz63627.
Nemo_bis created this task.Apr 7 2014, 3:11 PM

Confirmed. Was just getting to a stopping point and this seems worth jumping on so I'm taking it.

Renaming to reflect that it will suggest a title if there are no redirects that also match.

Change 124344 had a related patch set uploaded by Manybubbles:
Prefer title for prefix search match

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

Change 124344 merged by jenkins-bot:
Prefer title for prefix search match

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

Change 125395 had a related patch set uploaded by Manybubbles:
Prefer title for prefix search match

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

Silly bot, bug is fixed, this is just the backport to get the fix deployed early.

Change 125395 merged by jenkins-bot:
Prefer title for prefix search match

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

Users keep complaining about this error ("it's going on since months ago"), but I can't reproduce it any longer. I'm asking more examples.
https://it.wikipedia.org/w/index.php?title=Discussioni_progetto%3ACinema&diff=65431950&oldid=65426509

Thanks! Its been long enough that all the caches should have expired....

The last reporter confirmed the error is gone after a purge.

That is good. I wonder why they had to purge, though. I just confirmed that the cache time is six hours. The most I believe its ever been is a day.