Page MenuHomePhabricator

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

Description

Searching for phrase prefixes 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 phrase prefix part, the other part should still work as intended, while the phrase prefix is allowed to only do a full text search. We should also make sure that, in such case, the phrase prefix extends to the captions as well.

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

Acceptance criteria
REQUIRED:

IDEAL:

Event Timeline

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

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

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

Change 642014 abandoned by Matthias Mullie:

[mediawiki/extensions/WikibaseMediaInfo@master] Implement support for phrase prefix nodes

Reason:

Ah, this won't end up being pursued I guess

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