Naveen, The documents are sorted before. Lets say if it was a post sort and you are fetching 10 rows it would have pulled up top 10 rows and sorted it. but that is not what happens in solr it sorts in all available docs as per the query and goves the number of rows as per your requirment.
Regards, Dheerendra On Mon, Jul 11, 2016 at 6:59 PM, Sandeep Mestry <sanmes...@gmail.com> wrote: > Hi Naveen, > > I am not too sure what you're after but the sorting mechanism is applied > after search results are fetched. > > From Solr Ref Guide: > > https://cwiki.apache.org/confluence/display/solr/Common+Query+Parameters#CommonQueryParameters-ThesortParameter > > The sort parameter *arranges search results* in either ascending (asc) or > descending (desc) order. > > Thanks, > Sandeep > > On 11 July 2016 at 11:13, Naveen Pajjuri <pajjuri.re...@myntra.com> wrote: > > > Hi, > > If i apply some sorting order on solr. when are the Documents sorted. > > > > 1. are documents sorted after fetching the results ? > > 2. or we get sorted documents ? > > > > Regards, > > Naveen > > > -- Regards, Dheerendra