Page MenuHomePhabricator

test2wiki (not beta): search for accented word shows non-accented version as first result
Closed, ResolvedPublic

Description

On test2wiki https://test2.wikipedia.org

Enter "África" (with an accent Á) into search box

First result in the search suggestion list should be "África" but instead is "Africa" (no accent)

Second result in the search suggestion list is "África"

Note that on beta labs the results are returned in the proper order, this seems to be unique to test2wiki and not a generic software bug.


Version: unspecified
Severity: normal

Details

Reference
bz59135

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:37 AM
bzimport set Reference to bz59135.
bzimport added a subscriber: Unknown Object (MLST).

*** Bug 59132 has been marked as a duplicate of this bug. ***

The page without the accent doesn't exist in beta. I had a look at the search results and it looks like cirrus is doing the right thing on beta given the rules: it found both and sorted the one without the accent to the top because it has more incoming links. I'm not really sure what to say.

Cool, I added the page to beta, we'll see

Back to test2wiki, though. Sorry I can't take a screen shot, but what I am seeing is that searching for "África": the exact match "África" is in bold text, but is listed second. The non-accented "Africa" is not in bold text, but is listed first.

We can compare to beta when the indexing catches up.

Yeah, that would be hard to screenshot because clicking anywhere will make it go away. The problem is that that stuff doesn't use my highlighting but it uses my sorting. The whole thing is frankly weird and I plan to look into it at some point because I don't like how it works.

Change 104740 had a related patch set uploaded by Cmcmahon:
Don't run this test until Bug 59135 is sorted

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

Change 104740 merged by jenkins-bot:
Don't run this test until Bug 59135 is sorted

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

Change 110199 had a related patch set uploaded by Manybubbles:
Reenable test now that bug is fixed

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

Change 110199 merged by Cmcmahon:
Reenable test now that bug is fixed

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