get documents with the solr order - pagination not working