Page MenuHomePhabricator

Beta Commons - label search not working properly
Closed, ResolvedPublic

Description

(split out from T208609 as it's a separate issue)

Searching by labels isn't working properly on beta commons. From @Ramsey-WMF

Example file:

https://commons.wikimedia.beta.wmflabs.org/wiki/File:Cmbrowser.png

This file has 4 file captions on it, all added hours (or days) ago:

Its English caption is "Screenshot bunny"

  • Searching for "bunny" (which is in the English caption) is a hit in the search results
  • Searching for "screenshot bunny" returns no hit
  • Searching for "Englishscreenshot" returns a match in the search results
  • Searching for "knabino", which is the Esperanto caption, produces no matches
  • Searching for "Esperantoknabino" returns a match.

The problem is the opening_text field is null

Event Timeline

Change 472186 had a related patch set uploaded (by Cparle; owner: Cparle):
[mediawiki/extensions/WikibaseMediaInfo@master] Use the CirrusSearchBuildDocumentParse hook

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

Change 472186 merged by jenkins-bot:
[mediawiki/extensions/WikibaseMediaInfo@master] Use the CirrusSearchBuildDocumentParse hook

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

This is working now, but the speed of the job queue might be a problem. Could we hasten it a little bit? :)

This is working now, but the speed of the job queue might be a problem. Could we hasten it a little bit? :)

In Beta, no. In production it's much faster (but also more weighed-down by use).

Closing because we have T209621 to use for the job queue speed issue.