Page MenuHomePhabricator

Provide label-based search for ZObjects
Closed, ResolvedPublic

Description

We need to support in some way the search for ZObjects based on their labels (and later aliases) per language and their type.

For this we need to provide some index that is from normalized search strings and language code to ZIDs.

Then we need to tie this up with some user facing search capability. IIRC, Wikidata does this by providing a MW API and then have a custom widget for the search.

It would be good to support the Open Search protocol for this one.

Note that for each search, one expected type is being set. The type can be a simple reference or later a generic type.

Event Timeline

DVrandecic triaged this task as Medium priority.Aug 20 2020, 1:00 AM

Change 622855 had a related patch set uploaded (by Jforrester; owner: Jforrester):
[mediawiki/extensions/WikiLambda@master] [WIP] Store ZObject labels in a database table and provide a search API for them

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

DVrandecic raised the priority of this task from Medium to High.Aug 27 2020, 9:36 PM

Change 622855 merged by jenkins-bot:
[mediawiki/extensions/WikiLambda@master] Store ZObject labels in a database table and provide a search API for them

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

Created a few follow up tasks, so we can close this task:

DVrandecic claimed this task.