Page MenuHomePhabricator

Add support for prefi* queries in MediaSearch profile
Open, Needs TriagePublic


Searching for prefix terms should be supported in Media Search. The exact level of implementation of this can vary based on what's possible.

At the very least, we must not allow a multi-term (e.g. via AND/OR/NOT) query to entirely fall back to a non-MediaSearch query builder.
Even if we fail to fully handle (e.g. fetch relevant statements for) the prefix term part, the other part should still work as intended, while the prefix term is allowed to only do a full text search. We should also make sure that, in such case, the prefix term extends to the captions as well.

Ideally, if/once implementation allows for it, we also find statements for the prefix term query, both when it's a standalone prefix term query, or when used in combination with other terms (via AND/OR/NOT)

Acceptance criteria


Event Timeline

Change 642017 had a related patch set uploaded (by Matthias Mullie; owner: Matthias Mullie):
[mediawiki/extensions/WikibaseMediaInfo@master] Implement support for prefix nodes

Moving to "blocked" to allow search team time to look all of this over before we move forward.