Page MenuHomePhabricator

Give exact match when looking for a specific file
Closed, DeclinedPublic

Description

Wanted image of which exact name was placed into the search box is fourth in the row

I think VE should offer the file I am looking for. E.g. when editing https://cs.wikipedia.org/w/index.php?title=Madžlis_al-Džinn I found out picture: https://commons.wikimedia.org/wiki/File:Descending_into_cave.jpg

Which I like to add to the text. Unfortunately when I type it into Add media dialog box this media is situated on the 4th position after media, which are not related to the text itself.


Version: unspecified
Severity: normal

Attached:

Picture.jpg (782×1 px, 118 KB)

Details

Reference
bz62917

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:51 AM
bzimport set Reference to bz62917.

I believe that this request is a duplicate, in that it depends on the results from the search not being perfect.
If you type "descending into cave" in the media dialog on en.wiki, and then keep deleting and re-adding the final "e", you'll always get different results. I was more likely to get to File:Descending_into_cave.jpg (and to see it as the first match) when I only typed "descending into". As a temporary, suboptimal workaround, you can immediately find it by copy/pasting File:Descending_into_cave.jpg in the media dialog.

It seems to me, testing this with very common words such as "cats", "dog", "house", but also with names (Anna Frank, Katy Perry, Angela Merkel) that as soon as you type those words, you get quite unrelated results. Then if you add something - even just a space - or change them like I did above, then you'll start seeing images which have something to do with the topic you have in mind.

(In reply to Elitre from comment #1)

I believe that this request is a duplicate, in that it depends on the
results from the search not being perfect.
If you type "descending into cave" in the media dialog on en.wiki, and then
keep deleting and re-adding the final "e", you'll always get different
results. I was more likely to get to File:Descending_into_cave.jpg (and to
see it as the first match) when I only typed "descending into". As a
temporary, suboptimal workaround, you can immediately find it by
copy/pasting File:Descending_into_cave.jpg in the media dialog.

It seems to me, testing this with very common words such as "cats", "dog",
"house", but also with names (Anna Frank, Katy Perry, Angela Merkel) that as
soon as you type those words, you get quite unrelated results. Then if you
add something - even just a space - or change them like I did above, then
you'll start seeing images which have something to do with the topic you
have in mind.

Well it depends, which type of serach VE will use. If the same one, than it is probably a duplicate.

[Please avoid full-quotes of previous comments.]

Using the double quotes produce the search results that match the exact phrase within the quote - as expected:

So both following phrases will return the desired result:

  • "Descending into the cave.jpg"
  • "Descending into the cave"

If it's still viewed as an issue - it is not up to Visual Editor to address. If some improvements/suggestions to search functionality are needed, they should be filed under CirrusSearch project. Closing for now as Declined.

Etonkovidova set Security to None.

Works for me as well. (Shouldn't this be Invalid or something else?)