When I use the VisualEditor media search feature and put in specific keywords to find an image that I know exists, my desired image is often buried in the results after several rows of PDFs that aren't relevant to my search (that have no relevant keywords in the title or description), apparently because my search keywords are found in the text of the long PDFs.
For example, if I search for "The Marsh San Francisco Valencia" while looking for [[ https://en.wikipedia.org/wiki/File:The_Marsh,_San_Francisco.JPG | File:The Marsh, San Francisco.JPG ]] (which includes "Valencia" in its description), that image shows up at the end of the fourth row. The first results are [[ https://en.wikipedia.org/wiki/File:U.S._Intelligence_Law_for_American_Journalists_(Part_1_of_2).pdf | File:U.S. Intelligence Law for American Journalists (Part 1 of 2).pdf ]], [[ https://en.wikipedia.org/wiki/File:Atlas-of-European-history-1909.pdf | File:Atlas-of-European-history-1909.pdf ]], [[ https://en.wikipedia.org/wiki/File:All_the_Year_Round_-_Series_1_-_Volume_19.pdf | File:All the Year Round - Series 1 - Volume 19.pdf ]], and other long PDF documents that don't have my keywords in the file title or description. When I search for [[ https://commons.wikimedia.org/w/index.php?search=The+Marsh+San+Francisco+Valencia&title=Special%3ASearch&go=Go | "The Marsh San Francisco Valencia" on Commons ]], the desired image shows up first, and then the PDFs, which is ine.
The same thing happens if I search for "Valencia Tool & Die" while looking for [[ https://en.wikipedia.org/wiki/File:974_Valencia_St.,_San_Francisco.jpg | File:974 Valencia St., San Francisco.jpg ]] (which has "Valencia Tool & Die" in its description) - that image shows up in the sixth row, after a few relevant images and many non-relevant PDFs. [[ https://commons.wikimedia.org/w/index.php?search=Valencia+Tool+%26+Die&title=Special%3ASearch&go=Go | Searching for "Valencia Tool & Die" on Commons ]] is also fine - the relevant images show up before the PDFs.
So I imagine this could be adjusted to work better.