On Fri, Oct 29, 2010 at 3:39 PM, Ezequiel Calderara <ezech...@gmail.com> wrote: > Hi all guys! > I'm in a weird situation here. > We have index a set of documents which are ordered using a linked list (each > documents has the reference of the previous and the next). > > Is there a way when sorting in the solr search, Use the linked list to sort?
It seems like you should be able to encode this linked list as an integer instead, and sort by that? If there are multiple linked lists in the index, it seems like you could even use the high bits of the int to designate which list the doc belongs to, and the low order bits as the order in that list. -Yonik http://www.lucidimagination.com