Make $solr and $repositry protected

This allows definition of queries in custom repositories