Numbers of http requests for media files are stored in the data lake. We could use these as a popularity score for images, and use that as a ranking signal for image search
See here for oozie jobs that are used to import the data into cassandra for the rest api https://github.com/wikimedia/analytics-refinery/tree/master/oozie/cassandra/daily
I'd hope we could do similar to import data into the commons elasticsearch index, and then use that as a ranking signal