i want to sort the top 100documents of a solr using a specific field but it sort the whole result set and then display result the following is my code.
query1.setQuery(" Natural Language ");
query1.setStart(0);
query1.setRows(100);
int i=0;
query1.set("df","Text");
query1.setFields("PaperID","TotalPageRank");
query1.setSort("customrank", SolrQuery.ORDER.desc);
Is it possible using solr query to sort the top 100 documents using customrank field?