If no solr fields are configured, '$solr_fields' will be undefined and throw an error.