added analytics part and apache solr part