I'm surprised I haven't seen a post on this, but maybe the answers are
obvious. I'm using a cursor to page the results. If I want to enable reverse
paging (go back one page) I have to either:

a) Keep a map of all cursor marks the user made paging forward. This map
could get very long if a user did page to the end of 5M results.
b) Reverse the sort order on the search. Then I would need to sort the
results for the page in reverse order to put the them back in the order
expected by the user.

So (b) seems like the reasonable solution, and it should support the jump
forward/backward N pages feature if I had to build that in. Is this the
right way to support backward paging with cursors?
(using Solr 4.9)





--
View this message in context: 
http://lucene.472066.n3.nabble.com/Reverse-deep-paging-tp4183554.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to