Well, it sort of depends on what you mean by the 'previous' and the 'next' record.
Do you have some type of sequencing built into your concept of your solr / lucene indexes? Do you have sequential id's? i.e. What's the use case, and what's the data available to support your use case? Bob Sandiford | Lead Software Engineer | SirsiDynix P: 800.288.8020 X6943 | bob.sandif...@sirsidynix.com www.sirsidynix.com > -----Original Message----- > From: Jonty Rhods [mailto:jonty.rh...@gmail.com] > Sent: Thursday, July 21, 2011 2:18 PM > To: solr-user@lucene.apache.org > Subject: Re: previous and next rows of current record > > Pls help.. > > On Thursday, July 21, 2011, Jonty Rhods <jonty.rh...@gmail.com> wrote: > > Hi, > > > > Is there any special query in solr to get the previous and next > record of current record.I am getting single record detail using id > from solr server. I need to get next and previous on detail page. > > > > regardsJonty > >