Not sure if there is a way to make Solr do it by itself. If you cannot have your app do it (which would be best), you could add an XSLT stylesheet to Solr that would enhance the result set using the XSLT position() function.
Upayavira On Thu, 17 Mar 2011 17:25 -0400, "Jae Joo" <jaejo...@gmail.com> wrote: > Hi, > > I am looking for the way to retrieve a ranking (or position) of the > document matched in the result set. > > I can get the data, then parse it to find the position of the document > matched, but am looking for the way if there is a feature. > > Thanks, > > Jae > --- Enterprise Search Consultant at Sourcesense UK, Making Sense of Open Source