refactoring of solr media item