Don't crash if solr is not enabled
Fix assets paths order