add ranking of media items according to certain rules when retrieved
from solr