porting trends panel from elasticsearch to solr