Page MenuHomePhabricator

Available image not offered as type-ahead search result under VisualEditor's "Insert->Media" (search only returns word matches)
Open, LowPublic

Description

Hi all!
Whilst image is present in https://en.wikivoyage.org/wiki/Special:ListFiles (for examp.: ValenciaBanner2.jpg )
it could not be found in media search results by partial name:




Some debug info on third-party install can be found here: https://phabricator.wikimedia.org/T186997

Related Objects

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptFeb 26 2018, 11:33 AM
Igorsolovki updated the task description. (Show Details)Feb 26 2018, 11:34 AM
Aklapper renamed this task from Incorrect media search results (Insert->media) to Available image not offered as type-ahead search result under VisualEditor's "Insert->Media".Feb 26 2018, 12:24 PM
Aklapper updated the task description. (Show Details)
Aklapper added a project: CirrusSearch.
Restricted Application added projects: Discovery, Discovery-Search. · View Herald TranscriptFeb 26 2018, 12:24 PM
Deskana triaged this task as Medium priority.Feb 27 2018, 7:51 PM
Deskana moved this task from To Triage to External and Administrivia on the VisualEditor board.
Deskana added a subscriber: Deskana.

It looks like VisualEditor is using the full text search api. If you want partial title matches it would need to use the prefix search generator. Alternatively the full text api can be convinced to do prefix searches (although in an exceptionally more expensive way) by appending a * to any partial token. If prefix search is too limiting, as you want to search non-title matches, a tradeoff might be to generate a full text search query in the form of: valenciabanner OR intitle:valenciabanner* which will limit the * expansion to only titles/redirects.

EBjune lowered the priority of this task from Medium to Low.Jun 7 2018, 5:23 PM
EBjune added a subscriber: EBjune.

waiting for a response from VE team, until then there's nothing Search Platform can do.

matmarex renamed this task from Available image not offered as type-ahead search result under VisualEditor's "Insert->Media" to Available image not offered as type-ahead search result under VisualEditor's "Insert->Media" (search only returns word matches).May 7 2019, 8:35 PM
matmarex added subscribers: Ascotmonth, matmarex, Esanders.