Discovery/Status updates/2017-12-04

This is the weekly update for the week starting 2017-12-04



  • Upgrading to ElasticSearch 5.5.x took a lot of smaller sections of work to be completed [1]:
  • There was a HP RAID Battery issue on elastic2004 that has been resolved [4]
  • There was an issue with forceSearchIndex.php hanging at the end of the process when running on large wikis, so we disabled statsd collection instead of replacing statsd [5]


  • Fixed an issue where the logo on is misaligned for RTL languages on very small devices [6]
  • Automation is nearly done for the portal site [7]

This status was last updated 2017-12-08.

Tech: Search PlatformEdit

1. Implement advanced methodologies such as “learning to rank” machine learning techniques and signals to improve search result relevance across language Wikipedias.

  • Begin to automate the machine learning pipeline, starting by targeting eight to ten languages, other than English, that match (at a minimum) current performance and then deploy those models. (IN PROGRESS)

2. Improve support for multiple languages by researching and deploying new language analyzers as they make sense to individual language wikis.

  • Investigate open source language software that is available and see if it can be converted into ElasticSearch plugins. (IN PROGRESS)
  • Investigate usage of fall-back languages (DONE)
  • Investigate fuzzy (phonetic) matching. (POSTPONED UNTIL Q3)
  • Continue general language support. (ONGOING)

3. Investigate how to expand and scale Wikidata Query Service to improve its ability to power features on-wiki for readers

  • Work on sub-category filtering and searching within the Wikidata Query Service. (IN PROGRESS)

4. Address technical debt:

  • Convert existing Selenium tests to Node.js (IN PROGRESS)
  • Investigate ownership and maintenance of Logstash (IN PROGRESS)

Structured Data on CommonsEdit

1. Commons search will be extended via CirrusSearch and ElasticSearch and Wikidata Query Service, to support searching based on structured data elements describing media.

  • Determine advanced search requirements and measures for structured data on commons. (NOT STARTED YET)

2. Advanced search capabilities (e.g., Wikidata Query Service, SPARQL queries) will be updated to support the more specific media search filters and the relationships to the topics they represent

  • Begin work on prefix- and full-text search in ElasticSearch on Wikidata in preparation for the Structured Data on Commons project. (IN PROGRESS)


Wikidata Query Service goal for this quarter will be to work on sub-category filtering and searching within the Wikidata Query Service; it will be maintained by Stas and Guillaume to support the continued growth and use of the service; the Analysis team will help with statistics.



Update the portal codebase to be completely automated for ease of ongoing maintenance.

  • Automate portal project updates: statistics and translations (IN PROGRESS)


Support the move to be more operationally centralized and roll out a new map style that has numerous updates and enhancements.

  • Finalize and deploy new map style; replicate maps test cluster in Wikimedia Cloud Service; monitor for critical bugs (IN PROGRESS)


The team will continue to work closely with the Search Platform team to analyze A/B tests and other assorted data; they will also begin working on determining a baseline set of metrics for Structured Data on Commons. (IN PROGRESS)