Page MenuHomePhabricator

Same search result listed twice in same query
Closed, ResolvedPublic


If you make a search on Commons for nadja hirsch (link: you will get the following result:

commons.wikimedia.org_w_index.php_search=nadja+hirsch&title=Special_Search&go=Go&searchToken=zs7z3wv815566drqolyta09q.png (252×726 px, 27 KB)

The result Category:Nadja Hirsch is listed twice after each other. This must be a bug/glitch, since why does the same result appear more than once in a search query?

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
debt triaged this task as Medium priority.
debt edited projects, added Discovery-Search (Current work); removed Discovery-Search.
debt added a subscriber: debt.

It looks like the update for this category (currently in two indexes) hasn't gone through it's update. We'll try to update this manually, but in general, this process can take up to two weeks to completely regenerate.

Category moves have completed, not seeing duplicates anymore.

Cause and effect is not the same - this single example is fixed, but the fact that such an update may cause the same result to appear twice, seems like a bad underlying cause/problem.

the problem is simply moving results between indexes, while the move is underway there will be duplicates. There is no nice way to move 10's of millions of documents atomically.