Added pagination for solr query